Dashboards & Visualizations

Dashboards - set token to specific value, when drilldowned token is unset

chris1337
Explorer

On the first dashboad I have:

<drilldown>
          <link target="_blank">/app/appname/logon_fail?drill_account=$click.value$</link>
 </drilldown>

On the second dashboard I have a search like:

    <search>
                  <query>index=index EventCode=4625 Account_Name=$drill_account$
</query>
              <earliest>$field1.earliest$</earliest>
              <latest>$field1.latest$</latest>
              <sampleRatio>1</sampleRatio>
            </search>

Now, I try, to get this search running, even when there is no drilldown and the token "drill_account" is not set. Right now, it says "Waiting for input..."

Any suggestions? I tried to set this token to "*", but nothing worked for me.

Thx in advanced. Chris

0 Karma

jeffland
SplunkTrust
SplunkTrust

My guess is you probably didn't define field1.earliest and field1.latest on your target dashboard. I assume you have a time input on your target dashboard. Can you share the simple xml for your target dashboard, at least the parts where this token is defined?

If those are available, what's in the passed token? You can find out via console by doing

var defaultTokenModel = splunkjs.mvc.Components.get("default");
defaultTokenModel.get("drill_account");

If that says "undefined", can you check the url on the target page to see if it contains the token? Also, which version is this?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...