<?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 make fields clickable in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/make-fields-clickable/m-p/330261#M4830</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I created a search that extracts a field called PARSER with the syntax below and put the results on table format. The other fields are already static field extractions on our global system. &lt;/P&gt;

&lt;P&gt;index=nm drqs EXCHANGE sourcetype = ntwkserv TCPReceiver | rex field=_raw "(?\D\FIFW\s\w+\s\w+\s.+\DGO\D\D)" max_match=0 | table _time, PARSER, MACHINE,ISSUE,iP,pORT,Ticket | sort 0 -_time&lt;/P&gt;

&lt;P&gt;The output is as I expected, however, PARSER field is actually a URL that I want to open on a new tab/window that should output like this:    bbg://screens/NMS%20SVCB%20PSE. &lt;/P&gt;

&lt;P&gt;Instead, the PARSER field on the table is not clickable. I need to right click on it and select OPen in new tab or window to have it opened. Is there a way for me to have this url open/run with just 1 click?&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:03:42 GMT</pubDate>
    <dc:creator>ringbbg</dc:creator>
    <dc:date>2020-09-29T15:03:42Z</dc:date>
    <item>
      <title>make fields clickable</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/make-fields-clickable/m-p/330261#M4830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I created a search that extracts a field called PARSER with the syntax below and put the results on table format. The other fields are already static field extractions on our global system. &lt;/P&gt;

&lt;P&gt;index=nm drqs EXCHANGE sourcetype = ntwkserv TCPReceiver | rex field=_raw "(?\D\FIFW\s\w+\s\w+\s.+\DGO\D\D)" max_match=0 | table _time, PARSER, MACHINE,ISSUE,iP,pORT,Ticket | sort 0 -_time&lt;/P&gt;

&lt;P&gt;The output is as I expected, however, PARSER field is actually a URL that I want to open on a new tab/window that should output like this:    bbg://screens/NMS%20SVCB%20PSE. &lt;/P&gt;

&lt;P&gt;Instead, the PARSER field on the table is not clickable. I need to right click on it and select OPen in new tab or window to have it opened. Is there a way for me to have this url open/run with just 1 click?&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/make-fields-clickable/m-p/330261#M4830</guid>
      <dc:creator>ringbbg</dc:creator>
      <dc:date>2020-09-29T15:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: make fields clickable</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/make-fields-clickable/m-p/330262#M4831</link>
      <description>&lt;P&gt;@ringbbg, you can create a &lt;CODE&gt;&amp;lt;drilldown&amp;gt;&lt;/CODE&gt; event for the table with URL field to open in new window using &lt;CODE&gt;&amp;lt;link target=_blank&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Examples for URL drilldown from table are present in &lt;CODE&gt;Splunk 6.x Dashboard Examples&lt;/CODE&gt; App in Splunkbase. Kindly refer the same.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
    &amp;lt;!-- Following code creates drilldown only when PARSER column values are clicked --&amp;gt;
    &amp;lt;condition field="PARSER"&amp;gt;
         &amp;lt;link target="_blank"&amp;gt;$row.PARSER$&amp;lt;/link&amp;gt;
    &amp;lt;/condition&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;$row.PARSER$&lt;/CODE&gt; is the default table token used to access the value of the PARSER field for the row which is clicked.&lt;/P&gt;

&lt;P&gt;You might have to use CDATA and/or token filters for &lt;CODE&gt;$row.PARSER$&lt;/CODE&gt; to ensure that target URL is formed as expected: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens#Token_filters"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens#Token_filters&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 04:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/make-fields-clickable/m-p/330262#M4831</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-26T04:22:38Z</dc:date>
    </item>
  </channel>
</rss>

