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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...