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.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...