<?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 process click.value before passing it to a URL? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246507#M45138</link>
    <description>&lt;P&gt;The only thing that comes to mind for 6.2 is to use custom Javascript.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2015 20:13:58 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2015-10-02T20:13:58Z</dc:date>
    <item>
      <title>How to process click.value before passing it to a URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246504#M45135</link>
      <description>&lt;P&gt;I know that click.value will give me the value of the leftmost column in the click row, but what should I do so I can process the value before passing it to a link?&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
I have a table with entries on the leftmost column like this: 2-5, 4-3, 5-1, 5-2, 5-7, 7-3, 7-8, 9-2. I would like to make it so when I click on a row, say the one containing 5-2, it will redirect me to a link with just the first number of the entry (in this case 5, not the whole 5-2) on the URL's form, say &lt;CODE&gt;someothersite/?form.num=5&lt;/CODE&gt;. Same thing if I click on the rows with 5-1 or 5-7, but when I click 9-2, it will redirect me to &lt;CODE&gt;someothersite/?form.num=9&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Edit: I use version 6.2&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 22:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246504#M45135</guid>
      <dc:creator>almond14</dc:creator>
      <dc:date>2015-09-29T22:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to process click.value before passing it to a URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246505#M45136</link>
      <description>&lt;P&gt;As of 6.3 you can use dashboard eval expressions to create tokens, and use that before you redirect to another view:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
          &amp;lt;eval token="tmp"&amp;gt;mvindex(split('click.value', "-"), 0)&amp;lt;/eval&amp;gt;
          &amp;lt;link&amp;gt;someothersite?form.num=$tmp$&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2015 23:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246505#M45136</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2015-09-29T23:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to process click.value before passing it to a URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246506#M45137</link>
      <description>&lt;P&gt;I forgot to mention I used 6.2, and this method didn't work. Do you have other alternative for 6.2?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 16:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246506#M45137</guid>
      <dc:creator>almond14</dc:creator>
      <dc:date>2015-09-30T16:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to process click.value before passing it to a URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246507#M45138</link>
      <description>&lt;P&gt;The only thing that comes to mind for 6.2 is to use custom Javascript.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246507#M45138</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2015-10-02T20:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to process click.value before passing it to a URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246508#M45139</link>
      <description>&lt;P&gt;Is there anything new since 6.5?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-process-click-value-before-passing-it-to-a-URL/m-p/246508#M45139</guid>
      <dc:creator>exocore123</dc:creator>
      <dc:date>2017-06-16T23:19:51Z</dc:date>
    </item>
  </channel>
</rss>

