<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dashboard drilldown should pick clicked time range not token time range in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750356#M58986</link>
    <description>&lt;P&gt;Further to my last reply, I've tested with the following which I think does what you need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1"&amp;gt;
  &amp;lt;label&amp;gt;Testing&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Support cases&amp;lt;/title&amp;gt;
&amp;lt;table id="myTable"&amp;gt;
&amp;lt;search&amp;gt;
&amp;lt;query&amp;gt;index=_internal | head 3
| eval "Time (UTC)"=_time

| eval "Support ID"="Testing"
|eval _epoch_time=_time, _epoch_plus60=_time+60
| table  "Support ID","Time (UTC)", _time, _epoch_time, _epoch_plus60&amp;lt;/query&amp;gt;


 &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
&amp;lt;!-- Drilldown Configuration --&amp;gt;
        &amp;lt;!-- Enable row-level drilldown --&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;/app/search/search?q=search index=sony* sourcetype=sony_logs support_id="$click.value$"&amp;amp;amp;earliest=$row._epoch_time$&amp;amp;amp;latest=$row._epoch_plus60$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 19:56:54 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-07-23T19:56:54Z</dc:date>
    <item>
      <title>Dashboard drilldown should pick clicked time range not token time range</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750351#M58984</link>
      <description>&lt;P&gt;I created a summary index to call it in dashboard because it has so much data and need to run for larger time frames.&lt;/P&gt;&lt;P&gt;Configured summary index in this way -&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;my search query&amp;gt;
----
----
----
| eval log_datetime=strftime(_time, "%Y-%m-%d %H:%M:%S") 
| rename log_datetime AS "Time (UTC)"
|table _time, "Time (UTC)", &amp;lt;wanted fields&amp;gt;
| collect index=sony_summary&lt;/LI-CODE&gt;&lt;P&gt;Now calling it in one of my dashboard panel in this way -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=sony_summary sourcetype=stash
|search &amp;lt;passed drop-down tokens&amp;gt;
|sort 0 -"Time (UTC)"
| table  "Support ID","Time (UTC)", _time --------&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Now my requirement is I don't want users to see this summary index data. So I have created a drilldown and linked to different search as below. Whenever they click on any field value in table, new search will be opened with clicked support_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;earliest&amp;gt;$time_range.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time_range.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
&amp;lt;!-- Drilldown Configuration --&amp;gt;
        &amp;lt;!-- Enable row-level drilldown --&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;/app/search/search?q=search index=sony* sourcetype=sony_logs
support_id="$click.value$"&amp;amp;amp;earliest=$time_range.earliest$&amp;amp;amp;latest=$time_range.latest&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I click on dashboard panel's field, it is opening with expected support_id as expected, but it is opening with token time range. I am expecting that this should return the particular time range at what time event indexed as per Time (UTC) or _time. Example - An event has support ID with time 07:00 am, when I click on it it should open for 7 am, but it is taking token time range.&lt;BR /&gt;&lt;BR /&gt;When I checked in chatgpt, it given in following one and modified it in this way.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;table id="myTable"&amp;gt;
&amp;lt;search&amp;gt;
&amp;lt;query&amp;gt;index=sony_summary sourcetype=stash
|search &amp;lt;passed drop-down tokens&amp;gt;
|sort 0 -"Time (UTC)"

|eval epoch_time=_time, epoch_plus60=_time+60 (added this now)
| table  "Support ID","Time (UTC)", _time -------- , epoch_time, epoch_plus60&amp;lt;/query&amp;gt;

&amp;lt;/search&amp;gt;

 &amp;lt;earliest&amp;gt;$time_range.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time_range.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
&amp;lt;!-- Drilldown Configuration --&amp;gt;
        &amp;lt;!-- Enable row-level drilldown --&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;/app/search/search?q=search index=sony* sourcetype=sony_logs
support_id="$click.value$"&amp;amp;amp;earliest=$row.epoch_time$&amp;amp;amp;latest=$row.epoch_plus60&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Now this is working fine and time range is also coming what I clicked on. but here the issue is I don't want these two new fields -&amp;nbsp;epoch_time, epoch_plus60 to be visible in dashboard. These should get hided completely but still drilldown should work as expected. What to do here? Please suggest me. Am I missing anything? Even if I keep those fields in the last in panel, still my manager said hide it but it should work as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 18:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750351#M58984</guid>
      <dc:creator>splunklearner</dc:creator>
      <dc:date>2025-07-23T18:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard drilldown should pick clicked time range not token time range</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750354#M58985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273723"&gt;@splunklearner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you prefix those epoch fields with an underscore _ then it wont show up in the Table, but you can still reference it as a token.&amp;nbsp;&lt;BR /&gt;Try the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;table id="myTable"&amp;gt;
&amp;lt;search&amp;gt;
&amp;lt;query&amp;gt;index=sony_summary sourcetype=stash
|search &amp;lt;passed drop-down tokens&amp;gt;
|sort 0 -"Time (UTC)"

|eval _epoch_time=_time, _epoch_plus60=_time+60 (added this now)
| table  "Support ID","Time (UTC)", _time -------- , _epoch_time, _epoch_plus60&amp;lt;/query&amp;gt;

&amp;lt;/search&amp;gt;

 &amp;lt;earliest&amp;gt;$time_range.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time_range.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
&amp;lt;!-- Drilldown Configuration --&amp;gt;
        &amp;lt;!-- Enable row-level drilldown --&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;/app/search/search?q=search index=sony* sourcetype=sony_logs
support_id="$click.value$"&amp;amp;amp;earliest=$row._epoch_time$&amp;amp;amp;latest=$row._epoch_plus60&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
... etc...&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 19:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750354#M58985</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-23T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard drilldown should pick clicked time range not token time range</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750356#M58986</link>
      <description>&lt;P&gt;Further to my last reply, I've tested with the following which I think does what you need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1"&amp;gt;
  &amp;lt;label&amp;gt;Testing&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Support cases&amp;lt;/title&amp;gt;
&amp;lt;table id="myTable"&amp;gt;
&amp;lt;search&amp;gt;
&amp;lt;query&amp;gt;index=_internal | head 3
| eval "Time (UTC)"=_time

| eval "Support ID"="Testing"
|eval _epoch_time=_time, _epoch_plus60=_time+60
| table  "Support ID","Time (UTC)", _time, _epoch_time, _epoch_plus60&amp;lt;/query&amp;gt;


 &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
&amp;lt;!-- Drilldown Configuration --&amp;gt;
        &amp;lt;!-- Enable row-level drilldown --&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;/app/search/search?q=search index=sony* sourcetype=sony_logs support_id="$click.value$"&amp;amp;amp;earliest=$row._epoch_time$&amp;amp;amp;latest=$row._epoch_plus60$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 19:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750356#M58986</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-23T19:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard drilldown should pick clicked time range not token time range</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750366#M58987</link>
      <description>&lt;P&gt;just use the &amp;lt;fields&amp;gt; element in your &amp;lt;table&amp;gt; to restrict what fields are shown in the table. All other fields are still available for drilldown with $row.x$&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 23:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-drilldown-should-pick-clicked-time-range-not-token/m-p/750366#M58987</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-07-23T23:46:34Z</dc:date>
    </item>
  </channel>
</rss>

