Dashboards & Visualizations

URL Token Parameters <init>


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.


Labels (1)
Tags (3)
0 Karma


@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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.