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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...