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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...