<?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 create a drilldown to link users to an external page based on the cell clicked in a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126926#M34393</link>
    <description>&lt;P&gt;Sorry, but I don't. Maybe you can use &lt;CODE&gt;urldecode&lt;/CODE&gt; on it? &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/CommonEvalFunctions"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/CommonEvalFunctions&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2015 09:32:24 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2015-02-10T09:32:24Z</dc:date>
    <item>
      <title>How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126921#M34388</link>
      <description>&lt;P&gt;I am trying to link users to a external page based on the table cell (contain url) clicked.&lt;BR /&gt;
My drilldown code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       &amp;lt;link&amp;gt;
         $click.value$
       &amp;lt;/link&amp;gt;
     &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;E.g &lt;CODE&gt;click.value = &lt;A href="https://docs.google.com/document/d/ABCD/edit?usp=docslist_api" target="test_blank"&gt;https://docs.google.com/document/d/ABCD/edit?usp=docslist_api&lt;/A&gt;&lt;/CODE&gt;&lt;BR /&gt;
However, it returned an error page: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"Invalid view name requested "https://docs.google.com/document/d/ABCD/edit?usp=docslist_api" View names may only contain alphanumeric characters."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know it is trying to search for a view called &lt;A href="http://www.google.com"&gt;www.google.com&lt;/A&gt; in splunk.&lt;BR /&gt;
Is there anything I missed out and how do I fix this?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 08:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126921#M34388</guid>
      <dc:creator>nyp_kwyc</dc:creator>
      <dc:date>2015-02-04T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126922#M34389</link>
      <description>&lt;P&gt;Hi nyp_kwyc,&lt;/P&gt;

&lt;P&gt;from my point of view, it is better to use a CDATA link here like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
  &amp;lt;link&amp;gt;
    &amp;lt;![CDATA[ &lt;A href="http://splunk-base.splunk.com/integrated_search/?q=$click.value$" target="test_blank"&gt;http://splunk-base.splunk.com/integrated_search/?q=$click.value$&lt;/A&gt; ]]&amp;gt;
  &amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 08:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126922#M34389</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-02-04T08:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126923#M34390</link>
      <description>&lt;P&gt;Hi MuS&lt;/P&gt;

&lt;P&gt;Thanks for the suggestion&lt;/P&gt;

&lt;P&gt;However my click.value contain a link like E.g &lt;A href="http://www.google.com"&gt;http://www.google.com&lt;/A&gt;&lt;BR /&gt;
And when i click on the cell to launch the drilldown url, the url is added behind my splunk domain &lt;BR /&gt;
result the search to be&lt;BR /&gt;
&lt;A href="http://mysplunk.uk.to:8000/en-GB/manager/pageone/www.google.com"&gt;http://mysplunk.uk.to:8000/en-GB/manager/pageone/www.google.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I realized if I add some random names in front of $click.value$&lt;BR /&gt;
E.g  &lt;A href="https://$click.value$" target="test_blank"&gt;https://$click.value$&lt;/A&gt; &lt;BR /&gt;
It will be able to search externally -&amp;gt; &lt;A href="https://http://www.google.com"&gt;https://http://www.google.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 09:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126923#M34390</guid>
      <dc:creator>nyp_kwyc</dc:creator>
      <dc:date>2015-02-04T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126924#M34391</link>
      <description>&lt;P&gt;Now I see, after some testing it looks like the code &lt;CODE&gt;http://&lt;/CODE&gt; inside the &lt;CODE&gt;link&lt;/CODE&gt; tag is the trigger for this to work. Easiest work around is to remove the leading &lt;CODE&gt;http://&lt;/CODE&gt; from your values like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval baz=ltrim(foo, "htps:/") 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Feb 2015 10:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126924#M34391</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-02-04T10:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126925#M34392</link>
      <description>&lt;P&gt;The Url that was redirected seems to have percent encode when the actual link in $click.value$ dosent have that.&lt;BR /&gt;
Do you have any idea why is it so?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 03:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126925#M34392</guid>
      <dc:creator>nyp_kwyc</dc:creator>
      <dc:date>2015-02-05T03:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126926#M34393</link>
      <description>&lt;P&gt;Sorry, but I don't. Maybe you can use &lt;CODE&gt;urldecode&lt;/CODE&gt; on it? &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/CommonEvalFunctions"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/CommonEvalFunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 09:32:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126926#M34393</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-02-10T09:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126927#M34394</link>
      <description>&lt;P&gt;Hi nyp_kwyc,&lt;/P&gt;

&lt;P&gt;Did you find a solution? &lt;BR /&gt;
I have exactly the same problem. Experimented a lot (CDATA,urldecode,ltrim,replace...), but failed to find a solution. It's a very frustrating experience.&lt;/P&gt;

&lt;P&gt;best regards&lt;BR /&gt;
Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 15:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126927#M34394</guid>
      <dc:creator>andreasz</dc:creator>
      <dc:date>2015-04-02T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126928#M34395</link>
      <description>&lt;P&gt;Have the same issue, also experimented a lot without success unfortunately.  Looks like token values are automatically url safe encoded making them unsuitable for complete url's.&lt;/P&gt;

&lt;P&gt;See the docs here for more info: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/tokens#Token_filters"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/tokens#Token_filters&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Where they mention:&lt;BR /&gt;
Filter=URL format: $token_name|u$&lt;BR /&gt;
Description=Ensures that the token value is valid to use as a URL.  &lt;STRONG&gt;Token values for the  element &amp;lt; LINK &amp;gt; use this filter by default.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;So looks like this behaviour is by design and cannot by overwritten AFAIK.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126928#M34395</guid>
      <dc:creator>JohanDC</dc:creator>
      <dc:date>2015-12-16T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126929#M34396</link>
      <description>&lt;P&gt;I ran smack into the "Invalid view name requested" issue today in Splunk Version 6.4.1 Build debde650d26e.  Likewise, after much experimenting the only thing I could make work is to hard code a known valid url and append the search string from my  $click.value$ as shown below.   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;drilldown&amp;gt;
      &amp;lt;condition field="My Field"&amp;gt;
         &amp;lt;link target="_blank"&amp;gt;
           &lt;A href="http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;?paramName=$click.value$" target="test_blank"&gt;http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;?paramName=$click.value$&lt;/A&gt;
         &amp;lt;/link&amp;gt;
      &amp;lt;/condition&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where $click.value$ is paramValue specific to my app.  However, in my app, the url varies by event, which is why it's included in the event.  So this issue breaks my app.  What my app needs to work correctly is the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;drilldown&amp;gt;
      &amp;lt;condition field="My Field"&amp;gt;
         &amp;lt;link target="_blank"&amp;gt;
              $click.value$
         &amp;lt;/link&amp;gt;
      &amp;lt;/condition&amp;gt;
   &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where $click.value$ holds the complete url from the my event.&lt;/P&gt;

&lt;P&gt;Has a defect been submitted on this?  If not, how would I submit one?  Please let me know.  Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 20:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126929#M34396</guid>
      <dc:creator>fsw2364</dc:creator>
      <dc:date>2016-09-30T20:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown to link users to an external page based on the cell clicked in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126930#M34397</link>
      <description>&lt;P&gt;if your field contains a full URL:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;use the link tag&lt;/LI&gt;
&lt;LI&gt;$click.value2|n$
-note- the pipe n is needed to not escape the special characters &lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 09 Jun 2017 14:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-to-link-users-to-an-external-page/m-p/126930#M34397</guid>
      <dc:creator>wschulze</dc:creator>
      <dc:date>2017-06-09T14:48:57Z</dc:date>
    </item>
  </channel>
</rss>

