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
SplunkTrust
SplunkTrust

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

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...