<?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 Splunk dashboard clickable table output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570841#M198934</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two queries [Query 1&amp;nbsp; and Query 2].&amp;nbsp; what i am planning to achieve is that when user clicks on the &lt;EM&gt;server_ID&lt;/EM&gt; for tabular output of &lt;EM&gt;Query 1&lt;/EM&gt;, then it should be passed as&lt;FONT color="#FF0000"&gt; INPUT&lt;/FONT&gt; to the &lt;FONT color="#0000FF"&gt;WHERE&lt;/FONT&gt; clause in &lt;EM&gt;Query 2&amp;nbsp; . &lt;/EM&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;index=&amp;lt;&amp;lt;index_name&amp;gt;&amp;gt; &amp;nbsp; sourcetype=webserver | dedup server_ID | table&amp;nbsp; server_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 1 Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;server_ID&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;49552473-567&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;d5eedf55-dca&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5d4bb774-74a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03f03042-1f7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=&amp;lt;&amp;lt; index_name&amp;gt;&amp;gt; &amp;nbsp; "Exception" | where&amp;nbsp; server_ID= "server_ID from Query1 table"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 18:47:07 GMT</pubDate>
    <dc:creator>vadlamudi</dc:creator>
    <dc:date>2021-10-13T18:47:07Z</dc:date>
    <item>
      <title>Splunk dashboard clickable table output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570841#M198934</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two queries [Query 1&amp;nbsp; and Query 2].&amp;nbsp; what i am planning to achieve is that when user clicks on the &lt;EM&gt;server_ID&lt;/EM&gt; for tabular output of &lt;EM&gt;Query 1&lt;/EM&gt;, then it should be passed as&lt;FONT color="#FF0000"&gt; INPUT&lt;/FONT&gt; to the &lt;FONT color="#0000FF"&gt;WHERE&lt;/FONT&gt; clause in &lt;EM&gt;Query 2&amp;nbsp; . &lt;/EM&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;index=&amp;lt;&amp;lt;index_name&amp;gt;&amp;gt; &amp;nbsp; sourcetype=webserver | dedup server_ID | table&amp;nbsp; server_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 1 Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;server_ID&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;49552473-567&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;d5eedf55-dca&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5d4bb774-74a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03f03042-1f7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=&amp;lt;&amp;lt; index_name&amp;gt;&amp;gt; &amp;nbsp; "Exception" | where&amp;nbsp; server_ID= "server_ID from Query1 table"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 18:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570841#M198934</guid>
      <dc:creator>vadlamudi</dc:creator>
      <dc:date>2021-10-13T18:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard clickable table output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570842#M198935</link>
      <description>&lt;P&gt;This link should get you started.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/ContextualDrilldown" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/ContextualDrilldown&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 18:57:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570842#M198935</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-10-13T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard clickable table output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570843#M198936</link>
      <description>&lt;P&gt;There's a pretty good example of that in the Dashboards and Visualizations manual at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/ContextualDrilldown#Manage_and_respond_to_token_values_in_Simple_XML" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/ContextualDrilldown#Manage_and_respond_to_token_values_in_Simple_XML&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The concept is the first query has a &amp;lt;drilldown&amp;gt; element that sets a token value to the clicked cell.&amp;nbsp; The second query references that token.&amp;nbsp; The second query won't run until the token is assigned a value (when the user clicks on the table).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;index=&amp;lt;&amp;lt;index_name&amp;gt;&amp;gt;   sourcetype=webserver | dedup server_ID | table  server_ID&amp;lt;/query&amp;gt;
&amp;lt;drilldown&amp;gt;
  &amp;lt;set token="server_ID"&amp;gt;$row.server_ID$&amp;lt;/set&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;&amp;lt; index_name&amp;gt;&amp;gt;   "Exception" | where  server_ID= $server_ID$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 19:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570843#M198936</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-10-13T19:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard clickable table output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570844#M198937</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&amp;nbsp; I am facing with below error when i tried the above solution that you provided.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: &lt;FONT color="#FF0000"&gt;Node drilldown is not allowed here&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank You&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 19:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570844#M198937</guid>
      <dc:creator>vadlamudi</dc:creator>
      <dc:date>2021-10-13T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard clickable table output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570852#M198941</link>
      <description>&lt;P&gt;Why did you accept the answer if it doesn't work?&lt;/P&gt;&lt;P&gt;The dashboard code in the answer is not complete.&amp;nbsp; The snippets provided need to be inserted into the proper places in your XML.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 20:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-dashboard-clickable-table-output/m-p/570852#M198941</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-10-13T20:01:06Z</dc:date>
    </item>
  </channel>
</rss>

