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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...