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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...