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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...