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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...