<?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: To open different links when clicking on different rows in a dashboard. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/To-open-different-links-when-clicking-on-different-rows-in-a/m-p/711875#M117565</link>
    <description>&lt;P&gt;Simple answer, yes, it is possible&lt;/P&gt;&lt;P&gt;Here is one way to do it&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="light"&amp;gt;
  &amp;lt;label&amp;gt;URL Drilldown&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
| fields - _time
| eval url=split("DESC1,https://community.splunk.com/t5/Dashboards-Visualizations|DESC2,https://www.google.com/|DESC3,https://slack.com/intl/en-gb/blog/collaboration/new-splunk-app-for-slack","|")
| mvexpand url
| eval Description=mvindex(split(url,","),0)
| eval url=mvindex(split(url,","),1)&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;condition field="Description"&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&amp;gt;&amp;lt;/condition&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>Mon, 17 Feb 2025 15:19:52 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2025-02-17T15:19:52Z</dc:date>
    <item>
      <title>To open different links when clicking on different rows in a dashboard.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-open-different-links-when-clicking-on-different-rows-in-a/m-p/711867#M117560</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can someone please let me know how to open different web URLs by clicking on different rows of a dashboard using drilldown option:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Example :&lt;BR /&gt;Dashboard is using vlookup file&amp;nbsp; File.csv with below 2 columns:&amp;nbsp;&lt;BR /&gt;DESC1 ,&amp;nbsp;LINK1&lt;BR /&gt;DESC2 , LINK2&lt;BR /&gt;DESC3 , LINK3&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've used the below code , but it is taking me always to the same link even when i click on&amp;nbsp;DESC1 or&amp;nbsp;DESC2 or&amp;nbsp;DESC3.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| inputlookup File.csv | fields * &amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;1722776400.000&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;1722865326.000&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;done&amp;gt;&lt;BR /&gt;&amp;lt;set token="schedule"&amp;gt;$result.Schedule$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/done&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;link target="_blank"&amp;gt;&lt;A href="https://community.splunk.com/" target="_blank"&gt;https://community.splunk.com/&lt;/A&gt;&amp;lt;/link&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Is it possible , then if i click&amp;nbsp;&lt;BR /&gt;DESC1 , it will take me to the link&amp;nbsp; "&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations&amp;quot;" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations"&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;DESC2 , it will take me to the link&amp;nbsp; "&lt;A href="https://www.google.com/&amp;quot;" target="_blank"&gt;https://www.google.com/"&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;DESC3 ,&amp;nbsp;it will take me to the link&amp;nbsp; "&lt;A href="https://blog.avotrix.com/embed-splunk-dashboard-into-external-website/?force_isolation=true&amp;quot;" target="_blank"&gt;https://blog.avotrix.com/embed-splunk-dashboard-into-external-website/?force_isolation=true"&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 14:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-open-different-links-when-clicking-on-different-rows-in-a/m-p/711867#M117560</guid>
      <dc:creator>Real_captain</dc:creator>
      <dc:date>2025-02-17T14:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: To open different links when clicking on different rows in a dashboard.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-open-different-links-when-clicking-on-different-rows-in-a/m-p/711875#M117565</link>
      <description>&lt;P&gt;Simple answer, yes, it is possible&lt;/P&gt;&lt;P&gt;Here is one way to do it&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="light"&amp;gt;
  &amp;lt;label&amp;gt;URL Drilldown&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
| fields - _time
| eval url=split("DESC1,https://community.splunk.com/t5/Dashboards-Visualizations|DESC2,https://www.google.com/|DESC3,https://slack.com/intl/en-gb/blog/collaboration/new-splunk-app-for-slack","|")
| mvexpand url
| eval Description=mvindex(split(url,","),0)
| eval url=mvindex(split(url,","),1)&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;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;condition field="Description"&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&amp;gt;&amp;lt;/condition&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>Mon, 17 Feb 2025 15:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-open-different-links-when-clicking-on-different-rows-in-a/m-p/711875#M117565</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-02-17T15:19:52Z</dc:date>
    </item>
  </channel>
</rss>

