<?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 search result from one Panel to a different Panel? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258409#M77416</link>
    <description>&lt;P&gt;This answer does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I get the same result &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Today's Date is $result.ReportDate$&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 09 Aug 2016 14:38:34 GMT</pubDate>
    <dc:creator>daishih</dc:creator>
    <dc:date>2016-08-09T14:38:34Z</dc:date>
    <item>
      <title>How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258405#M77412</link>
      <description>&lt;P&gt;Hello.  I'm trying to construct a footer containing my app's version in a dashboard.  The footer resides in a different panel.  I can find the version from a search, but I haven't found a way to pass that value into the lower panel.  It seems like this can be done by using &lt;CODE&gt;tokens&lt;/CODE&gt;, but my research hasn't revealed a way to do this specifically.  &lt;/P&gt;

&lt;P&gt;Conceptually, I want the dashboard code to work like this:&lt;/P&gt;

&lt;P&gt;Panel1:&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;query&amp;gt;| rest /servicesNS/nobody/system/apps/local/ | search title="MyApp" | table title version&amp;lt;/query&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
Panel2:&lt;BR /&gt;
&lt;CODE&gt;&amp;lt; html &amp;gt;&amp;lt; center &amp;gt;&amp;lt; h8 &amp;gt;&amp;lt; img src="/static/app/MyApp/appLogo.png" / &amp;gt; MyApp version $version$&amp;lt; /h8 &amp;gt;&amp;lt; /center &amp;gt;&amp;lt; /html &amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any helpful pointers or references would be greatly appreciated!&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258405#M77412</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-03-24T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258406#M77413</link>
      <description>&lt;P&gt;Give this a try (run anywhere sample for Splunk 6.3.x)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Token from Search&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;| gentimes start=-1 | eval ReportDate=strftime(now(),"%F %T") | table ReportDate&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 1"&amp;gt;
              &amp;lt;set token="rptdate"&amp;gt;$result.ReportDate$&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
             &amp;lt;condition &amp;gt;
               &amp;lt;unset token="rptdate"/&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;center&amp;gt;
          &amp;lt;h8&amp;gt; Today's Date is $rptdate$&amp;lt;/h8&amp;gt;
        &amp;lt;/center&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258406#M77413</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-24T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258407#M77414</link>
      <description>&lt;P&gt;I get&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Today's Date is $result.ReportDate$&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 24 Mar 2016 20:30:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258407#M77414</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-03-24T20:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258408#M77415</link>
      <description>&lt;P&gt;The problem is the &lt;CODE&gt;result&lt;/CODE&gt; object isn't de-referencing the ReportDate value as expected.  That &lt;CODE&gt;result&lt;/CODE&gt; object seems key for accessing values from the search. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 22:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258408#M77415</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-03-24T22:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258409#M77416</link>
      <description>&lt;P&gt;This answer does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I get the same result &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Today's Date is $result.ReportDate$&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 09 Aug 2016 14:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258409#M77416</guid>
      <dc:creator>daishih</dc:creator>
      <dc:date>2016-08-09T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass search result from one Panel to a different Panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258410#M77417</link>
      <description>&lt;P&gt;What version of Splunk are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 14:44:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-search-result-from-one-Panel-to-a-different-Panel/m-p/258410#M77417</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-09T14:44:10Z</dc:date>
    </item>
  </channel>
</rss>

