<?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 click a timechart  &amp;quot;count by&amp;quot;  result as input to reopen the same dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627405#M51411</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241042"&gt;@wangkevin1029&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You want to set&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and then in your &amp;lt;drilldown&amp;gt; section do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;set token="t_count_by"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;That will create a token called "t_count_by" and its value will be "VQ_aa" where aa is the value of your A, B, C example.&lt;/P&gt;&lt;P&gt;The $click.xxx$ tokens that are filled are&lt;/P&gt;&lt;P&gt;$click.name$ = the word "_time"&lt;BR /&gt;$click.name2$ = the NAME of the series (i.e. VQ_A/B/C)&lt;BR /&gt;$click.value$ = the&amp;nbsp;_time value of the clicked data point&lt;BR /&gt;$click.value2$ = the VQ_X value of the clicked data point&lt;/P&gt;&lt;P&gt;See this&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 02:17:43 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-01-18T02:17:43Z</dc:date>
    <item>
      <title>How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627376#M51409</link>
      <description>&lt;P&gt;Hi, Splunkers,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a timechart in dashboard..&lt;/P&gt;
&lt;P&gt;l timechart span=1h count by VQ,&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;then timechart returns a graph with VQ_A,&amp;nbsp;VQ_B,&amp;nbsp;VQ_C with their values.&lt;/P&gt;
&lt;P&gt;I want to click these VQ_XXX&amp;nbsp; as input to reopen the dashboard.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to pass these "count by" result as input to my dashboard?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;actually, in my timechart:&amp;nbsp; &amp;nbsp;&lt;BR /&gt;l timechart span=1h count by VQ,&amp;nbsp; &amp;nbsp; this VQ comes from a token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is a chart option below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;option name="charting. Drilldown"&amp;gt;$t_countby$&amp;lt;/option&amp;gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if&amp;nbsp; I put token&amp;nbsp; t_countby here,&amp;nbsp; then when I click VQ_A, or,&amp;nbsp;VQ_B,&amp;nbsp;VQ_C in my timechart,&amp;nbsp; &amp;nbsp;the value passed as input is VQ， which I&amp;nbsp; selected from droplist with token t_countby,&amp;nbsp; &amp;nbsp;not&amp;nbsp;VQ_A, or,&amp;nbsp;VQ_B,&amp;nbsp;VQ_C, which I expected to pass as input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thx in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 20:18:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627376#M51409</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2023-01-17T20:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627393#M51410</link>
      <description>&lt;P&gt;I believe you want &lt;FONT face="courier new,courier"&gt;$click,value2$&lt;/FONT&gt; in the drilldown.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="charting. Drilldown"&amp;gt;$click.value2$&amp;lt;/option&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 22:11:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627393#M51410</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-17T22:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627405#M51411</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241042"&gt;@wangkevin1029&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You want to set&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and then in your &amp;lt;drilldown&amp;gt; section do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;set token="t_count_by"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;That will create a token called "t_count_by" and its value will be "VQ_aa" where aa is the value of your A, B, C example.&lt;/P&gt;&lt;P&gt;The $click.xxx$ tokens that are filled are&lt;/P&gt;&lt;P&gt;$click.name$ = the word "_time"&lt;BR /&gt;$click.name2$ = the NAME of the series (i.e. VQ_A/B/C)&lt;BR /&gt;$click.value$ = the&amp;nbsp;_time value of the clicked data point&lt;BR /&gt;$click.value2$ = the VQ_X value of the clicked data point&lt;/P&gt;&lt;P&gt;See this&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Viz/PanelreferenceforSimplifiedXML#Drilldown_event_tokens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 02:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627405#M51411</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-01-18T02:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627462#M51415</link>
      <description>&lt;P&gt;Bowesmana，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try it,thx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 13:49:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627462#M51415</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2023-01-18T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627467#M51416</link>
      <description>&lt;P&gt;richgalloway/bowesmana,&lt;/P&gt;&lt;P&gt;if I put all in&amp;nbsp; charting.drilldown, "&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;" ,"then&amp;nbsp; "$click.value2$"&amp;nbsp; itself shows in form.Gucid_token_with2handlers,&amp;nbsp; not click.value2, but&amp;nbsp; string itself ""$click.value2$"" shows in new opened dashboard.&lt;/P&gt;&lt;P&gt;if I put $click.value2$ in&amp;nbsp; charting.drilldown,&amp;nbsp;"""&amp;lt;option name="charting.drilldown"&amp;gt;$click.value2$&amp;lt;/option&amp;gt;,&amp;nbsp; ,then&amp;nbsp; drilldown doesn't open new target dashboard..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following is my charting.drilldown&amp;nbsp; option and drilldown code"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="charting.chart.stackMode"&amp;gt;$t_StackType$&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;$click.value2$&amp;lt;/option&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.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
&amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
&amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
&amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;

&amp;lt;drilldown&amp;gt;
&amp;lt;condition match="$t_DrillDown$ = &amp;amp;quot;*&amp;amp;quot;"&amp;gt;
&amp;lt;link target="_blank"&amp;gt;
&amp;lt;![CDATA[
/app/optum_gvp/guciduuidsid_search_applied_rules_with_ors_log_kvp?form.Gucid_token_with2handlers=$click.value2$&amp;amp;form.field2.earliest=$row.StartDTM_epoch$&amp;amp;form.field2.latest=$row.EndDTM_epoch$
]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;link target="_blank"&amp;gt;
&amp;lt;![CDATA[
/app/optum_gvp/pkvp_search_based_on_session_id?form.field1=$click.value2$&amp;amp;form.field2.earliest=$row.StartDTM_epoch$&amp;amp;form.field2.latest=$row.EndDTM_epoch$
]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition match="$t_DrillDown$ = &amp;amp;quot;PSID&amp;amp;quot;"&amp;gt;
&amp;lt;link target="_blank"&amp;gt;
&amp;lt;![CDATA[
/app/optum_gvp/pkvp_search_based_on_session_id?form.field1=$click.value2$&amp;amp;form.field2.earliest=$row.StartDTM_epoch$&amp;amp;form.field2.latest=$row.EndDTM_epoch$
]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition match="$t_DrillDown$ = &amp;amp;quot;PW&amp;amp;quot;"&amp;gt;
&amp;lt;link target="_blank"&amp;gt;
&amp;lt;![CDATA[
/app/optum_gvp/guciduuidsid_search_applied_rules_with_ors_log_kvp?form.Gucid_token_with2handlers=$click.value2$&amp;amp;form.field2.earliest=$row.StartDTM_epoch$&amp;amp;form.field2.latest=$row.EndDTM_epoch$
]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627467#M51416</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2023-01-18T15:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627483#M51417</link>
      <description>&lt;P&gt;I gave you some misleading advice.&amp;nbsp; As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;mentioned, set drilldown to "all" and use &lt;FONT face="courier new,courier"&gt;$click.value2$&lt;/FONT&gt; in your drilldown query to pass the selected value.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:52:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627483#M51417</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-18T15:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627540#M51423</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241042"&gt;@wangkevin1029&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some problems - make sure you have this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;anything else is wrong.&lt;/P&gt;&lt;P&gt;I am not sure why you are using click.value2 - I understood you want the NAME of the series, not the value at the click point. Use $click.name2$ as mentioned to get the series name.&lt;/P&gt;&lt;P&gt;Other issues are&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;condition match="$t_DrillDown$ = &amp;amp;quot;*&amp;amp;quot;"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Is this t_DrillDown a token you have set elsewhere in the dashboard&lt;/P&gt;&lt;P&gt;Otherwise, if you are clicking on the legend of the chart, then click.value2 WILL have the value $click.value2$ which is passed to the drilldown&lt;/P&gt;&lt;P&gt;If you really want the VALUE not the name, then when clicking on the legend, what value do you want to provide to the drilldown?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 04:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627540#M51423</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-01-19T04:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to click a timechart  "count by"  result as input to reopen the same dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627605#M51432</link>
      <description>&lt;P&gt;Hi, bowesmana,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works, after I changed $click.value2$ to $click.name2$.&lt;/P&gt;&lt;P&gt;t_drilldown is a different&amp;nbsp; input as a condition to open different dashboard.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-click-a-timechart-quot-count-by-quot-result-as-input-to/m-p/627605#M51432</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2023-01-19T14:49:37Z</dc:date>
    </item>
  </channel>
</rss>

