Dashboards & Visualizations

Is it possible to convert advanced xml to HTML ?

stevanic
Explorer

Hi all,

I have created a view with advanced XML because I want to use switcher module.
However, I cannot see any option to convert the view to HTML. I want to convert to html because I want to have flexibility to add components not available in simple xml and advanced xml.
Is this possible to convert advanced xml to HTML?

Regards,
Stevanic

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Splunk 6 HTML dashboards aren't related to AdvancedXML, there's no direct conversion.

However, you can use switchers in SimpleXML. Grab the Splunk 6.x Dashboard Examples app from https://apps.splunk.com/app/1603/ and take a look at http://your_host:8000/en-US/app/simple_xml_examples/custom_link_switcher for an example.

View solution in original post

fdi01
Motivator

add template="dashboard.html" option like this:
`Edit

Click "Convert to HTML" to convert the view to HTML

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Splunk 6 HTML dashboards aren't related to AdvancedXML, there's no direct conversion.

However, you can use switchers in SimpleXML. Grab the Splunk 6.x Dashboard Examples app from https://apps.splunk.com/app/1603/ and take a look at http://your_host:8000/en-US/app/simple_xml_examples/custom_link_switcher for an example.

stevanic
Explorer

Thanks for pointing out the switcher sample in Simple Xml. That's what I need.

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

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

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...