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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...