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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...