Dashboards & Visualizations

How to create a drilldown to another dashboard with time arguments?

BaptVe
Path Finder

Hello !

So I'm looking to make a drilldown referencing to another dashboard with the time changing in the second dashboard for the same range of time.

<form>
  <fieldset submitButton="false" autoRun="true"></fieldset>
  <row>
    <panel>
      <input type="dropdown" searchWhenChanged="true" token="timeEarliest">
        <label>Select an earliest time frame</label>
        <default>-24h</default>
        <choice value="-1w">-1w</choice>
        <choice value="-24h">-24h</choice>
        <choice value="-6h">-6h</choice>
      </input>
      <input type="dropdown" searchWhenChanged="true" token="timeLastest">
        <label>Select a latest time frame</label>
        <default>now</default>
        <choice value="-18h">-18h</choice>
        <choice value="now">now</choice>
      </input>
      <chart>
        <title>Chanel View</title>
        <search>
          <query> index=main text="*Req*"| timechart count bins=500 minspan=5min as "Errors</query>
          <earliest>$timeEarliest$</earliest>
          <latest>$timeLastest$</latest>
        </search>
          <drilldown target="Drilldown">
          <link>
            <![CDATA[
      /app/SOS/chanel_view#en-US/app/SOS/chanel_view?&earliest=$timeEarliest$&latest=$timeLatest$
              ]]>
          </link>
        </drilldown>
      </chart>
    </panel>
  </row>
</form>

And for the second dashboard:
It keeps staying on " Search is waiting for input... "

     <chart>
        <title>transactional </title>
        <search>
          <query>index=main |timechart count(text) as Error span=5min</query>
          <earliest>$timeEarliest$</earliest>
          <latest>$timeLastest$</latest>
        </search>
  </chart>

I was hoping that it was able to take the time from the link /app/SOS/chanel_view#en-US/app/SOS/chanel_view?&earliest=$timeEarliest$&latest=$timeLatest$ and use it for the second dashboard.

Thanks for your help

0 Karma
1 Solution

BaptVe
Path Finder

I found the answer :

<drilldown target="_blank">
          <link>
            <![CDATA[
            /app/SOS/chanel_view?earliest=$form.timeEarliest5$&latest=$form.timeLatest5$
              ]]>
          </link>
</drilldown>

If forget the "form." in each source token.
To solve the problem i looked at the source URL and the destination URL :
Source URL : form.timeEarliest=-24h& form.timeLatest=now
Destination URL : ?earliest=-24h&latest=now

Hope this can help

View solution in original post

BaptVe
Path Finder

I found the answer :

<drilldown target="_blank">
          <link>
            <![CDATA[
            /app/SOS/chanel_view?earliest=$form.timeEarliest5$&latest=$form.timeLatest5$
              ]]>
          </link>
</drilldown>

If forget the "form." in each source token.
To solve the problem i looked at the source URL and the destination URL :
Source URL : form.timeEarliest=-24h& form.timeLatest=now
Destination URL : ?earliest=-24h&latest=now

Hope this can help

somesoni2
Revered Legend

Two issues here
1. Token name for timeLatest is misspelled here as "timeLastest" in the inputs (first dashboard)
2. Use following for the drilldown - link

 /app/SOS/chanel_view?earliest=$timeEarliest$&latest=$timeLatest$
0 Karma

BaptVe
Path Finder

Thanks, i corrected the name!

I tried by correcting the link but still not working 😞

Thanks anyway, still looking 🙂

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...