Dashboards & Visualizations

Advanced XML vs Simple XML, do i need it?

sarumjanuch
Path Finder

Hi. Reading the forum and docummentation don't gave me an answer. I have an application, all my views are done with Simple XML. I am using Splunk 6. I packaged app, and everything is working fine. Do i need to convert my views to Advanced XML ?

Tags (2)
1 Solution

nfilippi_splunk
Splunk Employee
Splunk Employee

If you can satisfy your dashboard use cases with Simple XML, then definitely keep what you have, as Simple XML provides you with a drag-and-drop layout editor, viz panel editor, as well as PDF printing support that you would otherwise lose using Splunk's other dashboard frameworks. Further, if you need to include any "light" customization, you can leverage Splunk 6's support for page-level javascript and css files to be loaded with the page.

For examples of Simple XML dashboards, check out the app, "Splunk 6 Dashboard Examples".
http://apps.splunk.com/app/1603/

However, if you want to further customize layout/viz/behavior, in Splunk 6, we recommend you either (a) convert to html and leverage the new SplunkJS library, or (b) build your dashboard using the new django bindings framework.

For examples of the SplunkJS library and django bindings framework, check out the app, "Splunk Web Framework Toolkit".

http://apps.splunk.com/app/1613/

View solution in original post

nfilippi_splunk
Splunk Employee
Splunk Employee

If you can satisfy your dashboard use cases with Simple XML, then definitely keep what you have, as Simple XML provides you with a drag-and-drop layout editor, viz panel editor, as well as PDF printing support that you would otherwise lose using Splunk's other dashboard frameworks. Further, if you need to include any "light" customization, you can leverage Splunk 6's support for page-level javascript and css files to be loaded with the page.

For examples of Simple XML dashboards, check out the app, "Splunk 6 Dashboard Examples".
http://apps.splunk.com/app/1603/

However, if you want to further customize layout/viz/behavior, in Splunk 6, we recommend you either (a) convert to html and leverage the new SplunkJS library, or (b) build your dashboard using the new django bindings framework.

For examples of the SplunkJS library and django bindings framework, check out the app, "Splunk Web Framework Toolkit".

http://apps.splunk.com/app/1613/

msarro
Builder

This is a very good answer. Only use advanced XML when you need to, it will save you time and effort.

0 Karma

Ayn
Legend

No. If your views work fine and do what you want them to do with simple XML, there's no need to convert them to advanced XML.

sarumjanuch
Path Finder

Thank you! Marked next answer, because it full.

0 Karma

somesoni2
Revered Legend

Use of advanced xml is not encouraged in Splunk 6.0, just hold on to your simple xmls.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...