<?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: How do I specify a drilldown to show only the results of the value I clicked on in a table format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-specify-a-drilldown-to-show-only-the-results-of-the/m-p/218359#M64162</link>
    <description>&lt;P&gt;Hello. The Contextual Drilldown(Inpage) dashboard, of the splunk 6.x dashboard example app can help you. Here is the code: &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;title&amp;gt;Master&amp;lt;/title&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;title&amp;gt;Detail: $sourcetype$&amp;lt;/title&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;</description>
    <pubDate>Tue, 03 Nov 2015 22:43:39 GMT</pubDate>
    <dc:creator>stephanefotso</dc:creator>
    <dc:date>2015-11-03T22:43:39Z</dc:date>
    <item>
      <title>How do I specify a drilldown to show only the results of the value I clicked on in a table format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-specify-a-drilldown-to-show-only-the-results-of-the/m-p/218358#M64161</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I am a complete noob at all this Splunk stuff.&lt;/P&gt;

&lt;P&gt;I have built a search that display results in a table.&lt;BR /&gt;
What I would like to do is have a left click option to open a new search with only the results of that value in a table format, but not as a raw list like "view events" does.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 22:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-specify-a-drilldown-to-show-only-the-results-of-the/m-p/218358#M64161</guid>
      <dc:creator>jhuysing</dc:creator>
      <dc:date>2015-11-03T22:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify a drilldown to show only the results of the value I clicked on in a table format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-specify-a-drilldown-to-show-only-the-results-of-the/m-p/218359#M64162</link>
      <description>&lt;P&gt;Hello. The Contextual Drilldown(Inpage) dashboard, of the splunk 6.x dashboard example app can help you. Here is the code: &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;title&amp;gt;Master&amp;lt;/title&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;title&amp;gt;Detail: $sourcetype$&amp;lt;/title&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;</description>
      <pubDate>Tue, 03 Nov 2015 22:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-specify-a-drilldown-to-show-only-the-results-of-the/m-p/218359#M64162</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-11-03T22:43:39Z</dc:date>
    </item>
  </channel>
</rss>

