Dashboards & Visualizations

Back button along with tokens?

farooq3679
Engager

how to pass tokens after clicking the back button to move to the previous dashboard?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The back button in a browser doesn't/can't pass tokens. It's just going to load the URL you last visited, probably from cache.

You can, however, add a link from the current dashboard to the "previous" dashboard and pass token as you would normally do. This technically is not going back, but achieves the same goal.

---
If this reply helps you, Karma would be appreciated.

farooq3679
Engager
<panel>
  <html>      <a href="View_Patterns"  class="butt">Back</a>  </html>
  <event>
  <search>
      <query></query>
      <earliest>-24h@h</earliest>
      <latest>now</latest>
    </search>
    <option name="list.drilldown">full</option>
    <option name="table.drilldown">all</option>
    <option name="type">table</option>
    <drilldown>
      <link target="_blank">View_Patterns?form.time.earliest=$time.earliest$&amp;form.time.latest=$time.latest$>
      </link>
    </drilldown>
  </event>
</panel>
0 Karma

farooq3679
Engager

When i click on back button it should return to View_Patterns dashboard and also i want to synchronise the time etween the two dashboards.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What does it do?

---
If this reply helps you, Karma would be appreciated.
0 Karma

farooq3679
Engager

When I click the back button it return to the previous dashboard,both dashboard have timepicker,I want to pass tokens of time from current to previous dashboard

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Don't click the browser's back button as it won't do what you want it to do. We covered that already.
Click on the "view_patterns" panel to activate the drilldown that takes you to the previous dashboard.

---
If this reply helps you, Karma would be appreciated.
0 Karma

farooq3679
Engager

Actually i have created the back button on my screen that takes to the previous dashboard.i want to pass tokens through it
Its not Browsers back button
Back

0 Karma

richgalloway
SplunkTrust
SplunkTrust

When you click the Back link, are the tokens in the URL? Do the tokens names match those expected by the destination dashboard?

---
If this reply helps you, Karma would be appreciated.
0 Karma

farooq3679
Engager

yes correct i forgot to pass tokens there.thankyou

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If your problem is resolved, please accept the answer.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...