<?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: Basic Drill Down in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44841#M10596</link>
    <description>&lt;P&gt;There are various ways to specify a destination with the  tag. Here is the syntax for specifying a destination in a variety of scenarios:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Use a relative path to connect to a dashboard.&lt;/LI&gt;
&lt;LI&gt;Use a relative path to connect to a form, passing in a token to populate the form.&lt;/LI&gt;
&lt;LI&gt;Pass in the earliest and latest time range from the original search. 
(Requires use of CDATA, as indicated in the following sections.)&lt;/LI&gt;
&lt;LI&gt;Use a URL and query argument to pass a value to the destination page&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;1)  path/viewname &lt;BR /&gt;
2)  path/viewname?form.token=$dest_value$ &lt;BR /&gt;
3)  path/viewname?form.token=$dest_value$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$ &lt;BR /&gt;
4)  URL?q=$dest_value$ &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:47:21 GMT</pubDate>
    <dc:creator>krishnacasso</dc:creator>
    <dc:date>2020-09-29T06:47:21Z</dc:date>
    <item>
      <title>Basic Drill Down</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44839#M10594</link>
      <description>&lt;P&gt;Good day Splunkers.&lt;/P&gt;

&lt;P&gt;Splunk newbie here, I have been testing it for a few days already. I can now create searches and dashboards based on saved searches. However, I am having trouble in making 'drill down' to work. For example, I have a pie chart on panel 1 of my dashboard that is drill down enabled.. When I click on a piece, it still opens a new window instead of passing it to the panel below. I already followed the instructions in &lt;A href="http://www.splunk.com/base/Documentation/latest/User/UnderstandTableandChartDrilldownActions#Advanced_drilldown_behavior"&gt;http://www.splunk.com/base/Documentation/latest/User/UnderstandTableandChartDrilldownActions#Advanced_drilldown_behavior&lt;/A&gt; but I might be missing something. &lt;/P&gt;

&lt;P&gt;Any example / link regarding this would highly be appreciated.&lt;/P&gt;

&lt;P&gt;Thank you in advanced&lt;/P&gt;

&lt;P&gt;regards,&lt;BR /&gt;
jeff&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 05:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44839#M10594</guid>
      <dc:creator>jepoyyyy</dc:creator>
      <dc:date>2011-07-19T05:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Drill Down</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44840#M10595</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Here is and example of drill down vizualisation of table to colum chart:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
    &amp;lt;label&amp;gt;In-Page Drilldown with Perma-linking&amp;lt;/label&amp;gt;
    &amp;lt;fieldset submitButton="false"&amp;gt;
        &amp;lt;!--
            Create an input to store the drilldown value. It will be hidden using custom javascript when
            the dashboard is loaded.
         --&amp;gt;
        &amp;lt;input type="text" token="sourcetype" searchWhenChanged="true" /&amp;gt;
    &amp;lt;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;table id="master"&amp;gt;

            &amp;lt;searchString&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/searchString&amp;gt;
            &amp;lt;earliestTime&amp;gt;-60m@m&amp;lt;/earliestTime&amp;gt;
            &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
            &amp;lt;!-- Set the type of of drilldown, since we will always consume the same field, use row--&amp;gt;
            &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
            &amp;lt;drilldown&amp;gt;
                &amp;lt;!-- Use set to specify the new token to be created.
                     Use any token from the page or from the click event to produce the value needed. --&amp;gt;
                &amp;lt;set token="sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
                &amp;lt;!-- If we also set the form.sourcetype the input will get updated too --&amp;gt;
                &amp;lt;set token="form.sourcetype"&amp;gt;$row.sourcetype$&amp;lt;/set&amp;gt;
            &amp;lt;/drilldown&amp;gt;
        &amp;lt;/table&amp;gt;
    &amp;lt;/row&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;!-- depends is the way we tell the content to only show when the token has a value.
             Hint: use comma separated values if the element requires more than one token. --&amp;gt;
        &amp;lt;chart id="detail" depends="$sourcetype$"&amp;gt;

            &amp;lt;searchTemplate&amp;gt;index=_internal sourcetype=$sourcetype$ | timechart count&amp;lt;/searchTemplate&amp;gt;
            &amp;lt;earliestTime&amp;gt;-60m@m&amp;lt;/earliestTime&amp;gt;
            &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
        &amp;lt;/chart&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want pie visualisation, just replace this mark&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;table&amp;gt;
  ...
&amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;by  this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;chart&amp;gt;
      ...
    &amp;lt;/chart&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and inside of that mark put this code: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can add others options in that mark&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 08:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44840#M10595</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2014-12-19T08:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Drill Down</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44841#M10596</link>
      <description>&lt;P&gt;There are various ways to specify a destination with the  tag. Here is the syntax for specifying a destination in a variety of scenarios:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Use a relative path to connect to a dashboard.&lt;/LI&gt;
&lt;LI&gt;Use a relative path to connect to a form, passing in a token to populate the form.&lt;/LI&gt;
&lt;LI&gt;Pass in the earliest and latest time range from the original search. 
(Requires use of CDATA, as indicated in the following sections.)&lt;/LI&gt;
&lt;LI&gt;Use a URL and query argument to pass a value to the destination page&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;1)  path/viewname &lt;BR /&gt;
2)  path/viewname?form.token=$dest_value$ &lt;BR /&gt;
3)  path/viewname?form.token=$dest_value$&amp;amp;earliest=$earliest$&amp;amp;latest=$latest$ &lt;BR /&gt;
4)  URL?q=$dest_value$ &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Basic-Drill-Down/m-p/44841#M10596</guid>
      <dc:creator>krishnacasso</dc:creator>
      <dc:date>2020-09-29T06:47:21Z</dc:date>
    </item>
  </channel>
</rss>

