<?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: Is it possible to loadjob a post-processed search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442164#M29141</link>
    <description>&lt;P&gt;This does not work.   &lt;CODE&gt;$result._info_sid$&lt;/CODE&gt; still loads the base search.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 19:07:24 GMT</pubDate>
    <dc:creator>nick405060</dc:creator>
    <dc:date>2019-05-08T19:07:24Z</dc:date>
    <item>
      <title>Is it possible to loadjob a post-processed search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442161#M29138</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;Loadjob $post_process_search$ only loads $base_search$ data and not anything from the post-process search? Why? I understand it probably has something to do with how the $job.sid$ token is passed between the base and post-process search, but not more than that. How do I fix this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;search id="vpn_base"&amp;gt;
    &amp;lt;query&amp;gt;
...
    &amp;lt;/query&amp;gt;
    &amp;lt;done&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;set token="base_search"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;search base="vpn_base"&amp;gt;
    &amp;lt;query&amp;gt;
...
    &amp;lt;/query&amp;gt;
    &amp;lt;done&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;set token="post_process_search"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442161#M29138</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-09-30T00:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loadjob a post-processed search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442162#M29139</link>
      <description>&lt;P&gt;I would still like to know a "yes" answer to this question.&lt;/P&gt;

&lt;P&gt;However, the obvious workaround is just to        &lt;CODE&gt;| makeresults | append [| loadjob "$base_search$"]&lt;/CODE&gt; in the now-pseudo post-process query and do away with any base setting/referencing, keeping the       &lt;CODE&gt;post_process_search&lt;/CODE&gt; token.&lt;/P&gt;

&lt;P&gt;But it would be great to know a true answer, considering this is just a workaround and no longer includes a true post-process search. Even if you take away       &lt;CODE&gt;base_search&lt;/CODE&gt; in the original example, loadjobbing       &lt;CODE&gt;post_process_search&lt;/CODE&gt; still just loads the base search data.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 23:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442162#M29139</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-07T23:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loadjob a post-processed search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442163#M29140</link>
      <description>&lt;P&gt;In your post-process search add this to the end:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| addinfo | rename info_* AS _info_*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you can access &lt;CODE&gt;$result._info_sid$&lt;/CODE&gt; to get it.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 23:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442163#M29140</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-05-07T23:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loadjob a post-processed search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442164#M29141</link>
      <description>&lt;P&gt;This does not work.   &lt;CODE&gt;$result._info_sid$&lt;/CODE&gt; still loads the base search.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 19:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442164#M29141</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-08T19:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loadjob a post-processed search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442165#M29142</link>
      <description>&lt;P&gt;Wow.  That is shocking.  I would open a support case because that makes no sense and really should be treated as a bug and fixed.&lt;/P&gt;

&lt;P&gt;The reason to use an underscore is so that it is invisible in the panel and search results, but still available for us to use (it would be confusing to the users).&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 20:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-loadjob-a-post-processed-search/m-p/442165#M29142</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-05-08T20:04:00Z</dc:date>
    </item>
  </channel>
</rss>

