<?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 pass a field value to a &amp;quot;Link to search&amp;quot; SPL query from a Dashboard table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705713#M238909</link>
    <description>&lt;P&gt;Ok so we know row and results works in other environments.&amp;nbsp; Something should be there based upon what we have seen from your SPL and table results.&amp;nbsp; I would recommend saving the updated drill down, then log out of splunk, close browser and clear cache/cookies, log into splunk, and reload dashboards.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 16:26:57 GMT</pubDate>
    <dc:creator>dural_yyz</dc:creator>
    <dc:date>2024-12-02T16:26:57Z</dc:date>
    <item>
      <title>How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705690#M238893</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need help on passing a field value from a Dashboard table into a "Link to search" drilldown but can't figure it out.&lt;/P&gt;&lt;P&gt;I have a table that contains a "host" field.&amp;nbsp; I am needing to be able to click on any of the returned hosts and drill into all of the events for that host.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried in hopes that the $host$ would be replaced with the actual host name with this drilldown query:&lt;/P&gt;&lt;P&gt;source="udp:514" host="$host$.doman.com"&lt;/P&gt;&lt;P&gt;but, of course failed, it just get's replaced with "*".&lt;/P&gt;&lt;P&gt;I'm sure I'm probably way off on how to do this, but any help would be awesome. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 14:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705690#M238893</guid>
      <dc:creator>tdavison76</dc:creator>
      <dc:date>2024-12-02T14:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705699#M238900</link>
      <description>&lt;P&gt;Use &lt;FONT face="courier new,courier"&gt;$results.host$&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 15:32:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705699#M238900</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-12-02T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705704#M238904</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dural_yyz_0-1733154299777.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33644i04E8BFF35E49B844/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dural_yyz_0-1733154299777.png" alt="dural_yyz_0-1733154299777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 15:45:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705704#M238904</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-02T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705711#M238907</link>
      <description>&lt;P&gt;This is a better answer than mine.&amp;nbsp; &lt;FONT face="courier new,courier"&gt;$results$&lt;/FONT&gt; will only pick up the first result rather than the row clicked.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 16:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705711#M238907</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-12-02T16:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705712#M238908</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;Thanks for the quick help, still stuck for some reason.&amp;nbsp; So I've tried $row.host$ and $result.host$ but they both result in just passing $xxx.host$ for some reason.&amp;nbsp; Here's the config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tdavison76_0-1733155819842.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33645iFFADAEDEA451B296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tdavison76_0-1733155819842.png" alt="tdavison76_0-1733155819842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the resulting search:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tdavison76_1-1733155959129.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33646iDEC62430414FB025/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tdavison76_1-1733155959129.png" alt="tdavison76_1-1733155959129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the table query:&lt;/P&gt;&lt;P&gt;index="netscaler" host=*&lt;BR /&gt;| rex field="servicegroupname" "\?(?&amp;lt;Name&amp;gt;[^\?]+)"&lt;BR /&gt;| rex field="servicegroupname" "(?&amp;lt;ServiceGroup&amp;gt;[^\?]+)"&lt;BR /&gt;| rename "state" AS LastStatus&lt;BR /&gt;| eval Component = host."|".servicegroupname&lt;BR /&gt;| search Name=*&lt;BR /&gt;| eval c_time=strftime(Time,"%m/%d/%Y %H:%M:%S")&lt;BR /&gt;| streamstats window=1 current=f global=f values(LastStatus) as Status by Component&lt;BR /&gt;| where LastStatus!=Status&lt;BR /&gt;| rename _time as "Date"&lt;BR /&gt;| eval Date=strftime(Date, "%m/%d/%Y %H:%M:%S")&lt;BR /&gt;| table Date, host, ServiceGroup, Name, Status, LastStatus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, here's a screenshot of the table if helpful. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tdavison76_2-1733156117157.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33647i50FAB8D6FCB417E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tdavison76_2-1733156117157.png" alt="tdavison76_2-1733156117157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help on this one, very much appreciated.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 16:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705712#M238908</guid>
      <dc:creator>tdavison76</dc:creator>
      <dc:date>2024-12-02T16:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705713#M238909</link>
      <description>&lt;P&gt;Ok so we know row and results works in other environments.&amp;nbsp; Something should be there based upon what we have seen from your SPL and table results.&amp;nbsp; I would recommend saving the updated drill down, then log out of splunk, close browser and clear cache/cookies, log into splunk, and reload dashboards.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 16:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705713#M238909</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-02T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705714#M238910</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp; I tried the steps, but same thing occurred.&amp;nbsp; I then quickly set up a Classic Dashboard instead of a Dashboard Studio, and it works.&amp;nbsp; Looks like either an issue with Studio, of maybe it's just done differently.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 16:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705714#M238910</guid>
      <dc:creator>tdavison76</dc:creator>
      <dc:date>2024-12-02T16:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705734#M238912</link>
      <description>&lt;P&gt;I had assumed you were doing Classic XML to start, Dashboard Studio is slightly different I can try testing later.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 18:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705734#M238912</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-02T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705743#M238916</link>
      <description>&lt;P&gt;Sorry about that, I didn't think it would matter.&amp;nbsp; Looks like it does.&amp;nbsp; I've created a Support ticket for this as well.&amp;nbsp; Hopefully, they'll get back to me.&amp;nbsp; If they do, I'll let you know the solution with Studio. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 19:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705743#M238916</guid>
      <dc:creator>tdavison76</dc:creator>
      <dc:date>2024-12-02T19:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a field value to a "Link to search" SPL query from a Dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705747#M238917</link>
      <description>&lt;P&gt;In Dashboard Studio it's $row.&amp;lt;&amp;lt;fieldname&amp;gt;&amp;gt;.value$.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$row.host.value$&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 02 Dec 2024 20:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-a-field-value-to-a-quot-Link-to-search-quot-SPL/m-p/705747#M238917</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-12-02T20:23:40Z</dc:date>
    </item>
  </channel>
</rss>

