<?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 Search results, link to url in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97564#M25185</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I've done some reading, but I can't seem to put together the various answers over the course of the years.  I am using Splunk 5.  I have a dashboard, and it has a dynamic drill down which then just calls a splunk query. I would really like to make that query some of the data (an id field) be a clickable link to an outside page.  (ie: &lt;A href="http://website.com/info?$id$"&gt;http://website.com/info?$id$&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;How could I achieve this functionality?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2013 17:50:46 GMT</pubDate>
    <dc:creator>jgauthier</dc:creator>
    <dc:date>2013-10-14T17:50:46Z</dc:date>
    <item>
      <title>Search results, link to url</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97564#M25185</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I've done some reading, but I can't seem to put together the various answers over the course of the years.  I am using Splunk 5.  I have a dashboard, and it has a dynamic drill down which then just calls a splunk query. I would really like to make that query some of the data (an id field) be a clickable link to an outside page.  (ie: &lt;A href="http://website.com/info?$id$"&gt;http://website.com/info?$id$&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;How could I achieve this functionality?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 17:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97564#M25185</guid>
      <dc:creator>jgauthier</dc:creator>
      <dc:date>2013-10-14T17:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search results, link to url</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97565#M25186</link>
      <description>&lt;P&gt;There is some &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/Dynamicdrilldownindashboardsandforms"&gt;documentation&lt;/A&gt; on how to do this is simplexml:&lt;/P&gt;

&lt;P&gt;Roughly if this a table you could do something like:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;
     ...&lt;BR /&gt;
    &amp;lt;drilldown&amp;gt;&lt;BR /&gt;
        &amp;lt;link&amp;gt;http://website.com/info?$row.id$).&lt;BR /&gt;
    &amp;lt;/drilldown&amp;gt;&lt;BR /&gt;
&amp;lt;/table&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Some other tokens available:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
click.value2 - the value that you clicked on if you drilldown type is cell&lt;BR /&gt;
click.name1 - the fieldname that clicked on.&lt;BR /&gt;
click.value - the far left column's value&lt;BR /&gt;
click.name - the far left column's field name&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 18:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97565#M25186</guid>
      <dc:creator>melting</dc:creator>
      <dc:date>2013-10-14T18:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search results, link to url</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97566#M25187</link>
      <description>&lt;P&gt;Thanks. I really wanted to do this from a search, but I did make another dashboard. The original dashboard drills down into the second supplying the form information, and then those rows are able to be drilled down. So mission accomplished!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 18:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97566#M25187</guid>
      <dc:creator>jgauthier</dc:creator>
      <dc:date>2013-10-14T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search results, link to url</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97567#M25188</link>
      <description>&lt;P&gt;Is this doable in advanced xml?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:09:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97567#M25188</guid>
      <dc:creator>mcm10285</dc:creator>
      <dc:date>2014-01-22T08:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search results, link to url</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97568#M25189</link>
      <description>&lt;P&gt;Hi @melting_splunk ,&lt;/P&gt;

&lt;P&gt;Does the tokens you specified, works for Bar chart dashboards as well ?&lt;/P&gt;

&lt;P&gt;For e.g., i have a bar chart and i want to add a drill down "link to a search" and i wish to open a new search when i click on a bar of my graph. the new search should open results of the clicked value only. So what i tried to do is pass the variables using the token click.value. But it always opens a blank search.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 12:53:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-link-to-url/m-p/97568#M25189</guid>
      <dc:creator>qbolbk59</dc:creator>
      <dc:date>2019-01-30T12:53:40Z</dc:date>
    </item>
  </channel>
</rss>

