Dashboards & Visualizations

Can i Overwrite a Token in a dashboard by passing it from a URL

robertlynch2020
Influencer

Hi

I am passing in the following as a token LOG_DROP_OR_LIVE_VIEW=LOG_DROP.
I want the dashboard to take LOG_DROP for the default token, however it is taken as the URL but not for default.

How do i tell it to take it for the default?

<condition match="match($click.name2$,&quot;TPS&quot;)">
            <set token="TOKEN_COLUMN_NAME">$click.name2$</set>
            <set token="host_token">$row.HOST$</set>
              <set token="LOG_DROP_OR_LIVE_VIEW">LOG_DROP</set>
            <link target="_blank">/app/murex_mlc/tps_view_beta?form.host_token=$host_token$&amp;LOG_DROP_OR_LIVE_VIEW=$LOG_DROP_OR_LIVE_VIEW$&amp;</link>
          </condition>

When i look at the dashboard i see the following - Last line.
alt text

Thanks in advance
Rob

Tags (1)
0 Karma

renjith_nair
Legend

@robertlynch2020 ,
How do you assign values to Default and URL fields in the destination dashboards? Do you have different tokens ? Would be nice if you could share the xml part from the destination dashboard as well.

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...