<?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: help on a drilldown token in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587692#M11754</link>
    <description>&lt;P&gt;What are you expecting the search in the second panel to find?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 17:13:32 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-03-04T17:13:32Z</dc:date>
    <item>
      <title>Help displaying another table panel which displays the results of the value clicked</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587684#M11749</link>
      <description>&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;As you can see, I stats events by _time in a first table panel&lt;/P&gt;
&lt;P&gt;When I click on the result count I need to display an other table panel which displays the results of the value clicked&lt;/P&gt;
&lt;P&gt;What is wrong in my example?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;   &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu 
| stats count as count by _time&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="drilldown"&amp;gt;cell&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;set token="count"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$count$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu
| search count=$count$  
| table _time crash_process_name count&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="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 02:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587684#M11749</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-08T02:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587686#M11750</link>
      <description>&lt;P&gt;Is count a field in the events returned by&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=toto sourcetype=tutu&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 16:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587686#M11750</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-04T16:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587687#M11751</link>
      <description>&lt;P&gt;hi what do you mean exactly?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 16:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587687#M11751</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-04T16:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587690#M11752</link>
      <description>&lt;PRE&gt;| search count=$count$ &lt;/PRE&gt;&lt;P&gt;is looking for a field called count with the value from the $count$ token&lt;/P&gt;&lt;P&gt;If this field doesn't exist, you are unlikely to get any results!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587690#M11752</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-04T17:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587691#M11753</link>
      <description>&lt;P&gt;yes in my first table I have a value for count field&lt;/P&gt;&lt;P&gt;so when I click on it I dont understnd why there is nothing even if I use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| search count=$count$ &lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587691#M11753</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-04T17:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587692#M11754</link>
      <description>&lt;P&gt;What are you expecting the search in the second panel to find?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587692#M11754</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-04T17:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587694#M11755</link>
      <description>&lt;P&gt;when I click on the count onf my first table panel, I need to display all the events there is in this count&lt;/P&gt;&lt;P&gt;For example when _time is 09:00 I need to display the details of the 38 events there is in my count&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jip31_0-1646414154229.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18320i64CDA9CC5911481F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jip31_0-1646414154229.png" alt="jip31_0-1646414154229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587694#M11755</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-04T17:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587695#M11756</link>
      <description>&lt;P&gt;what is strange is that I am doing a similar thing with the field "name" it works!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu
| stats count(crash_process_name) as crash by name&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="drilldown"&amp;gt;cell&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;set token="name"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$name$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu
| search name="$name$"  
| stats last(crash_process_name) as crash count as count by name&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="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;but if I am doing the same with the field _time, it doesnt works!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu
| stats count(crash_process_name) as crash by _time&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="drilldown"&amp;gt;cell&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;set token="name"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$_time$"&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=toto sourcetype=tutu
| search _time="$_time$"  
| stats last(crash_process_name) as crash count as count by _time&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="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587695#M11756</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-04T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587727#M11758</link>
      <description>&lt;P&gt;Do you know if it is possible to use _time as a token?&lt;/P&gt;&lt;P&gt;If yes why my example doesnt works instead the example with "name" field works?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 06:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587727#M11758</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-05T06:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: help on a drilldown token</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587732#M11759</link>
      <description>&lt;P&gt;Tokens are just named temporary storage areas, they do not have to be related to the field they came from or being compared to.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;set token"tom"&amp;gt;**bleep**&amp;lt;/set&amp;gt;

| where harry=$tom$&lt;/LI-CODE&gt;&lt;P&gt;where tom is the name of the token, **bleep** is just a string value, and harry is a field in the events&lt;/P&gt;&lt;P&gt;So, yes, you could set a token to contain a value of _time, but you cannot set it to be the current value of _time in the event you are using it in.&lt;/P&gt;&lt;P&gt;I hope that makes sense, and does not confuse you further.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 08:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-displaying-another-table-panel-which-displays-the-results/m-p/587732#M11759</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-05T08:45:54Z</dc:date>
    </item>
  </channel>
</rss>

