Dashboards & Visualizations

How can I pass token for two different inputs in an advanced XML dashboard?

krakholiya_splu
Splunk Employee
Splunk Employee

Let me explain my use case with an example:

In the advanced XML dashboard, there should be two radio buttons X and Y:

On selection of button 'X' input "a" should be shown and on selection of button 'Y' input "b" should be shown.

On selection/change of any inputs "a" or "b", the token should be pass to all panels in the dashboard.(Token name would be same for both inputs)

My code is here:

<module name="for input a"> 
    <param name="var">temp</param>
    <module name="for input b">
         <param name="var">temp</param>
             ----------
               all panel with $temp$.....
             ----------
    <module>
 <module>

It always take token value from input b only.

Please help me how can I pass token of input "a"?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

AdvancedXML has been deprecated for years, do use SimpleXML for new development.

http://docs.splunk.com/Documentation/Splunk/6.6.2/Viz/FormEditor

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Haven't used AdvancedXML in about four years, so not really.

0 Karma

krakholiya_splu
Splunk Employee
Splunk Employee

I know that AdvancedXML has been deprecated but still, we have to add this feature into it.

Can you help me in perspective of advanced XML?

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 GA in US-AWS!

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 ...