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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...