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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...