<?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 to create a drilldown based on the clicked row in a stats table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261803#M78599</link>
    <description>&lt;P&gt;That was easy, thanks for the fix!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2016 18:29:23 GMT</pubDate>
    <dc:creator>JoshuaJohn</dc:creator>
    <dc:date>2016-08-30T18:29:23Z</dc:date>
    <item>
      <title>How to create a drilldown based on the clicked row in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261801#M78597</link>
      <description>&lt;P&gt;I have this stats table&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1798i1BBB0EFA9BD52D09/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;This is the search that creates it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="nitro_application_summary" earliest=-1h@m latest=@m [| `nitro_prod_cmdb` | search Category="*"  Service="*" Application="*" | stats count by Application | table Application] | join Application [ | `nitro_prod_cmdb_service_app_relationships` ] | search Alert_Type="*" Metric_Category="*" | eval FilterKey=Description.ID | dedup FilterKey | table Alert_Type Category Service Application Metric_Category Description Key ID| rename Metric_Category as "Type" Alert_Type as "Alert" count as Count | sort +Alert
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want it so when I click the row, it grabs the category of the row I am clicking and inserts that into the URL&lt;BR /&gt;
This is my drill down in the XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;link&amp;gt;
        &amp;lt;![CDATA[
            /app/nitro_app_summary/nitro_summary_details_view_sideview?Category= (This is where I want whatever is in the category section)
         ]]&amp;gt;
      &amp;lt;/link&amp;gt;
    &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas? I do not want to use drop-downs or any selection tools. I want to be able to just click on the row and for it to open based on the category.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 18:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261801#M78597</guid>
      <dc:creator>JoshuaJohn</dc:creator>
      <dc:date>2016-08-30T18:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown based on the clicked row in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261802#M78598</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       &amp;lt;link&amp;gt;
         &amp;lt;![CDATA[
             /app/nitro_app_summary/nitro_summary_details_view_sideview?Category=$row.category$
          ]]&amp;gt;
       &amp;lt;/link&amp;gt;
     &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/Viz/tokens#Define_tokens_for_dynamic_drilldown"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/Viz/tokens#Define_tokens_for_dynamic_drilldown&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 18:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261802#M78598</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-30T18:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown based on the clicked row in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261803#M78599</link>
      <description>&lt;P&gt;That was easy, thanks for the fix!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 18:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-based-on-the-clicked-row-in-a-stats/m-p/261803#M78599</guid>
      <dc:creator>JoshuaJohn</dc:creator>
      <dc:date>2016-08-30T18:29:23Z</dc:date>
    </item>
  </channel>
</rss>

