<?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: help on post process search in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581287#M11199</link>
    <description>&lt;P&gt;You must also remember that with base searches you should use transforming command on base search or otherwise there is a big risk that your result set is too big (500k) and it ignore some results. You could found more here&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Savedsearches#Use_a_transforming_base_search" target="_blank"&gt;Use a transforming base search&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMHO: if you have only one search then I prefer to use it as inline. It's much easier handle that way and there is not that previous limitation.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 07:22:18 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-01-17T07:22:18Z</dc:date>
    <item>
      <title>help on post process search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581281#M11194</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I use a dashboard with different post process search because I reuse the same index and the same sourcetype&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;search id="erreur"&amp;gt;
    &amp;lt;query&amp;gt;index=toto` sourcetype=tutu:web:error site=$site$ 
| fields web_error_count 
&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$date.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$date.latest$&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;search base="erreur"&amp;gt;
          &amp;lt;query&amp;gt;| stats sum(web_error_count) as web_error_count 
| appendpipe 
    [ stats count as _events 
    | where _events = 0 
    | eval web_errr_count = 0 ]&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But sometimes I need to use the same index and the same sourcetype only one time&lt;/P&gt;&lt;P&gt;So, in this case I use an inline search in the dashboard&lt;/P&gt;&lt;P&gt;What I need to know is about the performances&lt;/P&gt;&lt;P&gt;Is it better to use a post process search or an inline search when we dont have to reuse a specific sourcetype?&lt;/P&gt;&lt;P&gt;And when I have 2 inline search with the same index and 2 different sourcetype, is it better to use a post proces search like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;search id="test"&amp;gt;
    &amp;lt;query&amp;gt;index=toto` sourcetype=tutu:web:error OR sourcetype=titi:url) site=$site$ 
| fields web_error_count 
&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$date.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$date.latest$&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 06:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581281#M11194</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-01-17T06:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: help on post process search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581284#M11197</link>
      <description>&lt;P&gt;It depends on your data - use the job inspector to see how your searches perform doing it different ways and choose the best way for you.&lt;/P&gt;&lt;P&gt;Having said that, there are a couple of techniques you could use which may help. You could schedule reports to run and reference the results in your dashboard. You could store the search id of the base searches and use loadjob to retrieve the results in other searches.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 07:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581284#M11197</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-17T07:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: help on post process search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581286#M11198</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;I know for scheduled reports but it is not what I need because I need to have the last results when I open the dashboard&lt;/P&gt;&lt;P&gt;So i am going to compare performances with the job inspector&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 07:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581286#M11198</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-01-17T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: help on post process search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581287#M11199</link>
      <description>&lt;P&gt;You must also remember that with base searches you should use transforming command on base search or otherwise there is a big risk that your result set is too big (500k) and it ignore some results. You could found more here&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Savedsearches#Use_a_transforming_base_search" target="_blank"&gt;Use a transforming base search&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMHO: if you have only one search then I prefer to use it as inline. It's much easier handle that way and there is not that previous limitation.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 07:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-on-post-process-search/m-p/581287#M11199</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-17T07:22:18Z</dc:date>
    </item>
  </channel>
</rss>

