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!

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...