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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...