Dashboards & Visualizations

URL Token Parameters <init>

treverce
Explorer

I have a dashboard that is set up to do some conditions based on a change from an input and a date picker, however, this doesn't work when someone links into the dashboard and it pre-fills the inputs since Splunk treats that as the "initial value" and not a change. I don't want to set anything as the initial value because that will trigger the searches to fire off when when there’s nothing there, I.e. Someone doesn't link. So id like to keep the XML rejecting not to waste resources.

Is there a way that I can set the tokens, perhaps in the <init> from the URL paramaters? I tried $form.field$ and that didn't seem to do anything.

Thanks!

Labels (1)
Tags (3)
0 Karma

niketn
Legend

@treverce  for the community to assist you better you will need to provide more context as to what is the token name and value being passed from source to destination dashboard. What is the configuration of input field in the destination dashboard.

With some sample data what is happening right now vs what is expected.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...