<?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 How to add URL as hyperlink for the column values in dashboard? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595127#M10582</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;My requirement is i need to show URL (ex: &lt;A href="https://google.com" target="_blank" rel="noopener"&gt;https://google.com&lt;/A&gt;) as hyperlink on "109" value of&amp;nbsp; 'SFG Request ID' column and when clicked on 109 it should take me to the URL added.&lt;BR /&gt;&lt;BR /&gt;The below details are from lookup file.Similarly i need to display Different URL for on values of&amp;nbsp;'SFG Request ID' column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini008_0-1650873835390.png" style="width: 809px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19284i97D46309B9845C0E/image-dimensions/809x95?v=v2" width="809" height="95" role="button" title="Ashwini008_0-1650873835390.png" alt="Ashwini008_0-1650873835390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;URL details are not present in the csv file,It is present in another lookup file.&lt;BR /&gt;&lt;BR /&gt;Can anyone please suggest me how to do this?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 15:18:13 GMT</pubDate>
    <dc:creator>Ashwini008</dc:creator>
    <dc:date>2022-04-25T15:18:13Z</dc:date>
    <item>
      <title>How to add URL as hyperlink for the column values in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595127#M10582</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;My requirement is i need to show URL (ex: &lt;A href="https://google.com" target="_blank" rel="noopener"&gt;https://google.com&lt;/A&gt;) as hyperlink on "109" value of&amp;nbsp; 'SFG Request ID' column and when clicked on 109 it should take me to the URL added.&lt;BR /&gt;&lt;BR /&gt;The below details are from lookup file.Similarly i need to display Different URL for on values of&amp;nbsp;'SFG Request ID' column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini008_0-1650873835390.png" style="width: 809px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19284i97D46309B9845C0E/image-dimensions/809x95?v=v2" width="809" height="95" role="button" title="Ashwini008_0-1650873835390.png" alt="Ashwini008_0-1650873835390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;URL details are not present in the csv file,It is present in another lookup file.&lt;BR /&gt;&lt;BR /&gt;Can anyone please suggest me how to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595127#M10582</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2022-04-25T15:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595204#M10583</link>
      <description>&lt;P&gt;Have you looked at this?&lt;/P&gt;&lt;P&gt;&lt;A title="Splunk Docs - Link to a url" href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/DrilldownLinkToURL?_gl=1*1ifw7ky*_ga*MTcwMDU4NDgzNC4xNjQ4MTI3NDc1*_gid*MTE1NTM2NzE4OC4xNjUwODgyODgw*_gac*RUFJYUlRb2JDaE1Jc2JTSzdMMzg5Z0lWQTRYVkNoMEt0UW1mRUFBWUF5QUFFZ0lNMlBEX0J3RS4xNjQ5MTQ2NjEz&amp;amp;_ga=2.152220665.1155367188.1650882880-1700584834.1648127475&amp;amp;_gac=1.251471282.1649146618.EAIaIQobChMIsbSK7L389gIVA4XVCh0KtQmfEAAYAyAAEgIM2PD_BwE" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/DrilldownLinkToURL?_gl=1*1ifw7ky*_ga*MTcwMDU4NDgzNC4xNjQ4MTI3NDc1*_gid*MTE1NTM2NzE4OC4xNjUwODgyODgw*_gac*RUFJYUlRb2JDaE1Jc2JTSzdMMzg5Z0lWQTRYVkNoMEt0UW1mRUFBWUF5QUFFZ0lNMlBEX0J3RS4xNjQ5MTQ2NjEz&amp;amp;_ga=2.152220665.1155367188.1650882880-1700584834.1648127475&amp;amp;_gac=1.251471282.1649146618.EAIaIQobChMIsbSK7L389gIVA4XVCh0KtQmfEAAYAyAAEgIM2PD_BwE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595204#M10583</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2022-04-25T13:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595231#M10584</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/169081"&gt;@Azeemering&lt;/a&gt;&amp;nbsp;Thank you for the link.&lt;BR /&gt;&lt;BR /&gt;In the table i have many other such values for the column like '109,110,111,112 and so on. For each value i need to add a different URL .&lt;BR /&gt;&lt;BR /&gt;I am not sure how this can be done&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595231#M10584</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2022-04-25T15:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595315#M10585</link>
      <description>&lt;P&gt;I assume this is in a dashboard table, so see this example&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;sfg&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10
| eval SFG=random() % 5 + 109
| eval URL="https://google.com?q=".SFG
| table _time SFG URL&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;fields&amp;gt;_time, SFG&amp;lt;/fields&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;$row.URL|n$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;What you need to do is to lookup/generate the relevant URL for the SFG code, but hide that URL field from the display. In the above dashboard code, it does NOT show the URL field (using &amp;lt;fields&amp;gt; element).&lt;/P&gt;&lt;P&gt;However that field is still available to the drilldown, so you can then just use the standard &amp;lt;link&amp;gt; element with the token value from the clicked row ($row.URL|n$). Note the &lt;FONT face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;|n&lt;/STRONG&gt;&lt;/FONT&gt; at the end, which prevents the dashboard from encoding the token, so it is treated as a URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 00:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595315#M10585</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-04-26T00:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595451#M10586</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;Thank You,&lt;BR /&gt;&lt;BR /&gt;Can you please help me only on click of 129 it should take me to External URL.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Currently drilldown is enabled on whole row so clicking on anywhere in row will take me to the external Link.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini008_0-1650989738767.png" style="width: 663px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19335iE74FF613A2FBBF67/image-dimensions/663x77?v=v2" width="663" height="77" role="button" title="Ashwini008_0-1650989738767.png" alt="Ashwini008_0-1650989738767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 16:15:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595451#M10586</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2022-04-26T16:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595496#M10587</link>
      <description>&lt;P&gt;Make the drilldown "cell" and set conditions on the drilldown, like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;sfg&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10
| eval SFG=random() % 5 + 109
| eval URL="https://google.com?q=".SFG
| table _time SFG URL&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;fields&amp;gt;_time, SFG&amp;lt;/fields&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;condition field="SFG"&amp;gt;
            &amp;lt;link target="_blank"&amp;gt;$row.URL|n$&amp;lt;/link&amp;gt;
          &amp;lt;/condition&amp;gt;
          &amp;lt;condition field="*"/&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Apr 2022 23:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/595496#M10587</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-04-26T23:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add URL as hyperlink for the column values in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/636498#M10976</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you manage to come up with solution? Been trying this for a while now to appy hyperlink just for selected column value or just column instead of the whole row.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bartek&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-add-URL-as-hyperlink-for-the-column-values-in-dashboard/m-p/636498#M10976</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2023-03-29T10:00:16Z</dc:date>
    </item>
  </channel>
</rss>

