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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...