<?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: Drilldown chart for each result in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447602#M42109</link>
    <description>&lt;P&gt;Hi - in your drill down condition add the following, do not overwrite but just add the tokens to capture the time values -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;drilldown&amp;gt;
             &amp;lt;set token="tok_ear"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
             &amp;lt;set token="tok_lat"&amp;gt;$latest$&amp;lt;/set&amp;gt;
&amp;lt;link&amp;gt;
          &amp;lt;![CDATA[&amp;lt;your dashboard form url&amp;gt;form._earliest=$earliest$&amp;amp;form._latest=$latest$]]&amp;gt;

        &amp;lt;/link&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are many similar answers already available , I realise that you are probably new to splunk but try googling out answers, which might already contain what you are looking for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Here are a couple of already answered questions that are very similar.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/438520/how-to-pass-time-range-values-in-a-drilldown.html"&gt;https://answers.splunk.com/answers/438520/how-to-pass-time-range-values-in-a-drilldown.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/210758/how-to-create-a-drilldown-to-pass-time-to-timerang.html"&gt;https://answers.splunk.com/answers/210758/how-to-create-a-drilldown-to-pass-time-to-timerang.html&lt;/A&gt; &lt;BR /&gt;
and hetre is the splunk docs reference on delivered tokens&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single_.28event_tokens.29"&gt;https://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single_.28event_tokens.29&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 05 May 2019 10:41:01 GMT</pubDate>
    <dc:creator>Sukisen1981</dc:creator>
    <dc:date>2019-05-05T10:41:01Z</dc:date>
    <item>
      <title>Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447595#M42102</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
if i want to say if index=a then go to specific page how can i say ?&lt;BR /&gt;
my query is :&lt;BR /&gt;
index= a or index=b | stats count by index &lt;BR /&gt;
i using bar chart&lt;BR /&gt;
when it shows b and then i click on b go to my savedsearch and the same for a.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 05:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447595#M42102</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T05:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447596#M42103</link>
      <description>&lt;P&gt;Hi, you have to modify the simple xml in the dashboard, refer here &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/DrilldownIntro#Chart_navigation_and_selection_events"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/DrilldownIntro#Chart_navigation_and_selection_events&lt;/A&gt;&lt;BR /&gt;
Refer section - Choose a drilldown action&lt;BR /&gt;
Depending on whether you want to go to a webpage or  second dashboard you need to modify the simple xml code accordingly.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 06:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447596#M42103</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-05T06:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447597#M42104</link>
      <description>&lt;P&gt;i read this but i didn't understand.&lt;BR /&gt;
my xml code is :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;Failed Login ON Devices&amp;lt;/title&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;(index="fortigate" OR index="fortiweb" subtype=system status=failed) OR (index="cisco" mnemonic=LOGIN_FAILED)|stats count by index  |rename index as Host | transpose header_field="Host" column_name="Host"|  reverse&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleX.text"&amp;gt;Host&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Count&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;bar&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt; 
     &amp;lt;condition field="Host"&amp;gt;
      &amp;lt;link&amp;gt;$click.value2$&amp;lt;/link&amp;gt;
     &amp;lt;/condition&amp;gt;
    &amp;lt;/drilldown&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.fieldColors"&amp;gt;{"fortigate": 0x68d112, "fortiweb":0x42db2b, "cisco":0x12c7db}&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 May 2019 06:49:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447597#M42104</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T06:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447598#M42105</link>
      <description>&lt;P&gt;can you help?&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 06:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447598#M42105</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447599#M42106</link>
      <description>&lt;P&gt;Hi you have to provide the link - this might take you to a external website or another dashboard.&lt;BR /&gt;
Try this as is code snippet built on the _audit index, which will run be default.&lt;BR /&gt;
Here I am clicking the chart column and a new window opens up re-directing me to the splunk answers page with the field value in this case.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;tes&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_audit"
| stats count by info&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;drilldown target="My New Window"&amp;gt;

        &amp;lt;link&amp;gt;&amp;lt;![CDATA[http://answers.splunk.com/search.html?q=$click.value$]]&amp;gt;&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;

&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer here for all the default click options available.&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML#Predefined_drilldown_tokens"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML#Predefined_drilldown_tokens&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;you need to re-direct the web page to a second dashboard url. Your code is almost correct, but the token you have used (or any drill down token you use) is a part of the redirect url. So, in the example above  -  &lt;A href="http://answers.splunk.com/search.html?q=$click.value$"&gt;http://answers.splunk.com/search.html?q=$click.value$&lt;/A&gt;&lt;BR /&gt;
I am going to splunk answers AND then searching for answers with the click value token(clicked  field value) in my case.For example if i click on on the 'completed' bar the redirected window in splunk answers looks like this - &lt;A href="https://answers.splunk.com/search.html?q=completed"&gt;https://answers.splunk.com/search.html?q=completed&lt;/A&gt;&lt;BR /&gt;
The clicked value(q=completed) is passed dynamically based on user choice..&lt;/P&gt;

&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 07:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447599#M42106</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-05T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447600#M42107</link>
      <description>&lt;P&gt;thanks.it works. now i have another question:&lt;BR /&gt;
i have time token in my main dashboard,when i choos specific time range when i click on chart value it goes to other dashboard with other time range,i want to show the result base on my time range on main dashboard how can i do that?&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 10:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447600#M42107</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T10:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447601#M42108</link>
      <description>&lt;P&gt;Hi , I am converting my comment to an answer, please accept it if it resolved your issue. I will post an answer to your add on question as well &lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 10:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447601#M42108</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-05T10:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447602#M42109</link>
      <description>&lt;P&gt;Hi - in your drill down condition add the following, do not overwrite but just add the tokens to capture the time values -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;drilldown&amp;gt;
             &amp;lt;set token="tok_ear"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
             &amp;lt;set token="tok_lat"&amp;gt;$latest$&amp;lt;/set&amp;gt;
&amp;lt;link&amp;gt;
          &amp;lt;![CDATA[&amp;lt;your dashboard form url&amp;gt;form._earliest=$earliest$&amp;amp;form._latest=$latest$]]&amp;gt;

        &amp;lt;/link&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are many similar answers already available , I realise that you are probably new to splunk but try googling out answers, which might already contain what you are looking for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Here are a couple of already answered questions that are very similar.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/438520/how-to-pass-time-range-values-in-a-drilldown.html"&gt;https://answers.splunk.com/answers/438520/how-to-pass-time-range-values-in-a-drilldown.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/210758/how-to-create-a-drilldown-to-pass-time-to-timerang.html"&gt;https://answers.splunk.com/answers/210758/how-to-create-a-drilldown-to-pass-time-to-timerang.html&lt;/A&gt; &lt;BR /&gt;
and hetre is the splunk docs reference on delivered tokens&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single_.28event_tokens.29"&gt;https://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single_.28event_tokens.29&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 10:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447602#M42109</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-05T10:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447603#M42110</link>
      <description>&lt;P&gt;i reed this and i do it but didn't work, i don't know where is my mistake&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 11:09:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447603#M42110</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T11:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447604#M42111</link>
      <description>&lt;P&gt;Hi can you please paste your simple xml code?&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 11:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447604#M42111</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-05T11:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447605#M42112</link>
      <description>&lt;P&gt;main Dashboard&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;title&amp;gt;Success Login ON  Devices&amp;lt;/title&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;(index="fortigate" OR index="fortiweb" subtype=system status=success) |stats count by index  &amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
      &amp;lt;condition field="fortigate"&amp;gt;
        &amp;lt;set token="tok_ear"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
        &amp;lt;set token="tok_lat"&amp;gt;$latest$&amp;lt;/set&amp;gt;
       &amp;lt;link target="_blank" &amp;gt; 
         &amp;lt;![CDATA[/app/search/Success_login_on_fortigate?form._earliest=$earliest$&amp;amp;form._latest=$latest$]]&amp;gt;
       &amp;lt;/link&amp;gt;
     &amp;lt;/condition&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 May 2019 11:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447605#M42112</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-05T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447606#M42113</link>
      <description>&lt;P&gt;@khanlarloo &lt;CODE&gt;$latest$&lt;/CODE&gt; for drilldown from timechart does not work as expected. So &lt;CODE&gt;$row._span$&lt;/CODE&gt; needs to be added to &lt;CODE&gt;$row._time$&lt;/CODE&gt; field to get latest time. Refer to one of my recent answers: &lt;A href="https://answers.splunk.com/answers/740294/need-help-doing-drilldown-from-linechart.html"&gt;https://answers.splunk.com/answers/740294/need-help-doing-drilldown-from-linechart.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 14:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447606#M42113</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-05-05T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447607#M42114</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;
There are 2 steps here - &lt;BR /&gt;
Please use the as is snippets given below , built on the _audit index&lt;BR /&gt;
test1 - main dashboard&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;form&amp;gt;
      &amp;lt;label&amp;gt;test1&amp;lt;/label&amp;gt;
      &amp;lt;fieldset submitButton="false"&amp;gt;
        &amp;lt;input type="time" token="field1"&amp;gt;
          &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
          &amp;lt;default&amp;gt;
            &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
            &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;/default&amp;gt;
        &amp;lt;/input&amp;gt;
      &amp;lt;/fieldset&amp;gt;
      &amp;lt;row&amp;gt;
        &amp;lt;panel&amp;gt;
          &amp;lt;chart&amp;gt;
            &amp;lt;search&amp;gt;
              &amp;lt;query&amp;gt;index="_audit"
    | stats count by info&amp;lt;/query&amp;gt;
              &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
              &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
            &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
            &amp;lt;drilldown target="My New Window"&amp;gt;
              &amp;lt;set token="tok_ear"&amp;gt;$field1.earliest$&amp;lt;/set&amp;gt;
              &amp;lt;set token="tok_lat"&amp;gt;$field1.latest$&amp;lt;/set&amp;gt;
              &amp;lt;link&amp;gt;
                &amp;lt;![CDATA[/app/search/tes1?form.field1.earliest=$tok_ear$&amp;amp;form.field1.latest=$tok_lat$]]&amp;gt;
              &amp;lt;/link&amp;gt;
            &amp;lt;/drilldown&amp;gt;
          &amp;lt;/chart&amp;gt;
        &amp;lt;/panel&amp;gt;
      &amp;lt;/row&amp;gt;
    &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;test2 - second dashboard&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;test2&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_audit"
| stats count by action&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$form.field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$form.field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Test1 runs on the field info from the audit index in the chart panel&lt;BR /&gt;
which looks like this : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_audit"
| stats count by info&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;drilldown target="My New Window"&amp;gt;
          &amp;lt;set token="tok_ear"&amp;gt;$field1.earliest$&amp;lt;/set&amp;gt;
          &amp;lt;set token="tok_lat"&amp;gt;$field1.latest$&amp;lt;/set&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[/app/search/tes1?form.field1.earliest=$tok_ear$&amp;amp;form.field1.latest=$tok_lat$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I define the earliest and latest times just after the stats command in the search query, Then  in drilldown I capture the tokens in tok_ear and tok_lat. lastly I pass the time tokens in the link -  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;![CDATA[/app/search/tes1?form.field1.earliest=$tok_ear$&amp;amp;form.field1.latest=$tok_lat$]]&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the test 2 dashboard all I do is  pass the earliest and latest tokens captured from test1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;earliest&amp;gt;$form.field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$form.field1.latest$&amp;lt;/latest&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since, I had set $form.field1.earliest$ and $form.field1.latest$ while passing the url in the link. I use the same tokens to set the time range in test2.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447607#M42114</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-30T00:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447608#M42115</link>
      <description>&lt;P&gt;Thank You so mush,i was really confused.you help me very much.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 05:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447608#M42115</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2019-05-06T05:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart for each result</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447609#M42116</link>
      <description>&lt;P&gt;@khanlarloo do up-vote the answer if it helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 16:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-for-each-result/m-p/447609#M42116</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-05-06T16:39:57Z</dc:date>
    </item>
  </channel>
</rss>

