<?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: Global search versus loading search by SID - what are the tradeoffs/impact on the search head? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259422#M9855</link>
    <description>&lt;P&gt;Hi rjthibod,&lt;/P&gt;

&lt;P&gt;using a global search and post-process has limits regarding the results, see docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Savedsearches#Post-process_searches"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Savedsearches#Post-process_searches&lt;/A&gt; for more details. &lt;/P&gt;

&lt;P&gt;Using the &lt;CODE&gt;loadjob&lt;/CODE&gt; approach has advantage if you use it in dashboards that are used by may people, this way the schedules saved search runs only once and everyone can use the result (eq. lesser network traffic between SH and IDX and lower performance impact if the dashboard is used by 200 or more people for example).&lt;/P&gt;

&lt;P&gt;In the end it all depends on your use case ...&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 15:33:31 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2016-02-01T15:33:31Z</dc:date>
    <item>
      <title>Global search versus loading search by SID - what are the tradeoffs/impact on the search head?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259421#M9854</link>
      <description>&lt;P&gt;Splunk Enterprise 6.3.x has added lots of features that greatly extend the Simple XML framework.  One capability enables saving the job SID for a completed search (see example XML below). That saved SID can then be accessed elsewhere in the dashboard to load the results from the SID (i.e. using the loadjob command).&lt;/P&gt;

&lt;P&gt;There are many ways that this method of accessing search results in a single dashboard is more flexible than using a global search and post-processing.  Are there any downsides to using the saved SID approach?  Is one more efficient than the other terms of memory, dispatching, etc.?  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;
  &amp;lt;query&amp;gt;
    &amp;lt;INSERT_SPL_SEARCH&amp;gt;
  &amp;lt;/query&amp;gt;
  &amp;lt;earliest&amp;gt;-1h&amp;lt;/earliest&amp;gt;
  &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;progress&amp;gt;
    &amp;lt;condition match="'job.resultCount' &amp;gt; 0"&amp;gt;
       &amp;lt;set token="search_ds_1_sid"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
        &amp;lt;unset token="search_ds_1_sid"/&amp;gt;
     &amp;lt;/condition&amp;gt;
  &amp;lt;/progress&amp;gt;
&amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:15:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259421#M9854</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-02-01T12:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Global search versus loading search by SID - what are the tradeoffs/impact on the search head?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259422#M9855</link>
      <description>&lt;P&gt;Hi rjthibod,&lt;/P&gt;

&lt;P&gt;using a global search and post-process has limits regarding the results, see docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Savedsearches#Post-process_searches"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Savedsearches#Post-process_searches&lt;/A&gt; for more details. &lt;/P&gt;

&lt;P&gt;Using the &lt;CODE&gt;loadjob&lt;/CODE&gt; approach has advantage if you use it in dashboards that are used by may people, this way the schedules saved search runs only once and everyone can use the result (eq. lesser network traffic between SH and IDX and lower performance impact if the dashboard is used by 200 or more people for example).&lt;/P&gt;

&lt;P&gt;In the end it all depends on your use case ...&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259422#M9855</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-01T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Global search versus loading search by SID - what are the tradeoffs/impact on the search head?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259423#M9856</link>
      <description>&lt;P&gt;Thank you for pointing out the post-process limitations page.&lt;/P&gt;

&lt;P&gt;However, I think you misunderstand how I am talking about using loadjob and SIDs.  Note, 6.3.X allows one to get the SID of any arbitrary search in a Simple XML panel (see example XML in original post).  This not a scheduled saved search in a dashboard, this is the SID of any search in a dashboard regardless of it being saved or not.&lt;/P&gt;

&lt;P&gt;Right now, my dashboards have a lot of customizable field selection, so having a saved search is not an option. So, I want to know if I am going to be introducing undesirables in terms of performance/resource utilization if I used the SIDs of my ad-hoc dashboard searches instead of using a global search.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:11:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259423#M9856</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-02-01T16:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Global search versus loading search by SID - what are the tradeoffs/impact on the search head?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259424#M9857</link>
      <description>&lt;P&gt;You're right, got the wrong - sorry. Well to be honest: no one, besides you, can answer this for your use case and environment. Setup two dashboards, one using post process and one using loadjob and to some tests with your data in your setup. You will soon see what is the best setup for you.....&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259424#M9857</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-01T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Global search versus loading search by SID - what are the tradeoffs/impact on the search head?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259425#M9858</link>
      <description>&lt;P&gt;I will try to do that this week and come back with results. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 13:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Global-search-versus-loading-search-by-SID-what-are-the/m-p/259425#M9858</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-02-02T13:23:11Z</dc:date>
    </item>
  </channel>
</rss>

