<?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 could I custom the Link to search but still using the value from the clicked element? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582660#M47730</link>
    <description>&lt;P&gt;This needs to be updated xml :&lt;/P&gt;&lt;P&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;link target="_self"&amp;gt;/put in the link to which it needs to be redirected to&amp;lt;/link&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 05:50:46 GMT</pubDate>
    <dc:creator>SinghK</dc:creator>
    <dc:date>2022-01-27T05:50:46Z</dc:date>
    <item>
      <title>How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582649#M47727</link>
      <description>&lt;P&gt;Hi, all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am want to custom the search command when I click the element but I don't know how to write the search using values from the clicked element like Auto function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jennifer_0-1643255136728.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17702i962F0A9B49CFEEFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jennifer_0-1643255136728.png" alt="Jennifer_0-1643255136728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example, here's my dashboard and I hope that when I click on one of the Call_Session_ID, then it will jump to the search which combines the four different times with the same Call_Session_ID.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jennifer_1-1643255471026.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17703i05393A16E5DD2B36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jennifer_1-1643255471026.png" alt="Jennifer_1-1643255471026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 03:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582649#M47727</guid>
      <dc:creator>Jennifer</dc:creator>
      <dc:date>2022-01-27T03:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582657#M47729</link>
      <description>&lt;P&gt;Do you want the clicked on token/value to run a search in the current dashboard or open a new tab to a different search/dashboard?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 05:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582657#M47729</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-01-27T05:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582660#M47730</link>
      <description>&lt;P&gt;This needs to be updated xml :&lt;/P&gt;&lt;P&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;link target="_self"&amp;gt;/put in the link to which it needs to be redirected to&amp;lt;/link&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 05:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582660#M47730</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2022-01-27T05:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582676#M47733</link>
      <description>&lt;P&gt;I hope to open a new tap and show the result which uses the selected element!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 07:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582676#M47733</guid>
      <dc:creator>Jennifer</dc:creator>
      <dc:date>2022-01-27T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582704#M47734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242045"&gt;@Jennifer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you have a table that lists some values,&lt;/LI&gt;&lt;LI&gt;clicking on one of these rows you want to open a new dashboard (or a new panel) with a different search (or the same) passing the clicked value to the search for filtering results;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;is this correct?&lt;/P&gt;&lt;P&gt;If this is your need, I think that you should install on your Splunk machine the "Splunk Dashboard Examples " App (&lt;A href="https://splunkbase.splunk.com/app/1603/)" target="_blank"&gt;https://splunkbase.splunk.com/app/1603/)&lt;/A&gt;&amp;nbsp;where you can find examples about how to do this.&lt;/P&gt;&lt;P&gt;in few words, if you want to open a new dashboard (called e.g. "details"), passing to it the clicked&amp;nbsp;&lt;SPAN&gt;Call_Session_ID value, you could do somethiung like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the main dashboard, add to the panel:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
&amp;lt;drilldown&amp;gt;
   &amp;lt;link target="_blank"&amp;gt;/app/your_app/details?Call_Session_ID=$row.Call_Session_ID$&amp;amp;amp;&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;and in the secondary dashboard, add to the search the token $&lt;SPAN&gt;Call_Session_ID$:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search Call_Session_ID=$Call_Session_ID$
| ...&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 08:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582704#M47734</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-01-27T08:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582856#M47742</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;Giuseppe!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firstly, thanks so much for your help and I've solved this problem.&amp;nbsp; I just use the token of the click value in my custom search of drilldown!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondly I want to ask help with another issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How could I edit my search command in order to filter this table which will only display the first row of the same value(Call_Session_ID)? It means it will only show one Call_Session_ID with the earliest Time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my original search command:&lt;/P&gt;&lt;P&gt;index="hkcivr" source="/appvol/wlp/DIVR01HK-AS01/applogs/progresshk.log*" $tttt$ $key$| table Time Call_Session_ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jennifer_0-1643352323310.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17733iB10349EB86801EED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jennifer_0-1643352323310.png" alt="Jennifer_0-1643352323310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582856#M47742</guid>
      <dc:creator>Jennifer</dc:creator>
      <dc:date>2022-01-28T06:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582857#M47743</link>
      <description>&lt;P&gt;You will need to create that search separately and save it as dashboard. Once done then edit the XML where the element is and add the link to the dashboard in XML.&lt;/P&gt;&lt;P&gt;&amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;link target="_blank"&amp;gt;/app/your_app/details?Call_Session_ID=$row.Call_Session_ID$&amp;amp;amp;&amp;lt;/link&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582857#M47743</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2022-01-28T06:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How could I custom the Link to search but still using the value from the clicked element?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582858#M47744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242045"&gt;@Jennifer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, please accept the answer for the other people of Community.&lt;/P&gt;&lt;P&gt;About the new question, next time it's better to open a new question.&lt;/P&gt;&lt;P&gt;But anyway, it's possible but only putting in a multivalue field all the values for the same&amp;nbsp;&lt;SPAN&gt;Call_Session_ID, something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="hkcivr" source="/appvol/wlp/DIVR01HK-AS01/applogs/progresshk.log*" $tttt$ $key$
| stats values(Time) AS Time BY Call_Session_ID&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 07:05:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-could-I-custom-the-Link-to-search-but-still-using-the-value/m-p/582858#M47744</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-01-28T07:05:33Z</dc:date>
    </item>
  </channel>
</rss>

