<?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 Can someone explain concurrent historical searches to me? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441456#M125404</link>
    <description>&lt;P&gt;I do not understand what is meant by concurrent historical searches.&lt;/P&gt;

&lt;P&gt;Can someone else explain what it means to me?&lt;/P&gt;

&lt;P&gt;I read the entire Splunk limits.conf, where you can specify it, but I think i missed the explanation of what a concurrent historical search actually is.&lt;/P&gt;

&lt;P&gt;Which searches are counted? subsearches/joins?&lt;/P&gt;

&lt;P&gt;Is it possible to view the number for a specific search?&lt;/P&gt;

&lt;P&gt;The calculation in the docs says:&lt;/P&gt;

&lt;P&gt;max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches&lt;BR /&gt;
So does the number of cores in your CPU not matter? We have 4 searchheads with 8 cores, so by default, we can do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1 * 4 + 6  = 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;concurrent historical searches  with those machines?&lt;/P&gt;

&lt;P&gt;For each machine we add we get only 1 concurrent historical search extra?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:03:28 GMT</pubDate>
    <dc:creator>sboogaar</dc:creator>
    <dc:date>2020-09-29T23:03:28Z</dc:date>
    <item>
      <title>Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441456#M125404</link>
      <description>&lt;P&gt;I do not understand what is meant by concurrent historical searches.&lt;/P&gt;

&lt;P&gt;Can someone else explain what it means to me?&lt;/P&gt;

&lt;P&gt;I read the entire Splunk limits.conf, where you can specify it, but I think i missed the explanation of what a concurrent historical search actually is.&lt;/P&gt;

&lt;P&gt;Which searches are counted? subsearches/joins?&lt;/P&gt;

&lt;P&gt;Is it possible to view the number for a specific search?&lt;/P&gt;

&lt;P&gt;The calculation in the docs says:&lt;/P&gt;

&lt;P&gt;max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches&lt;BR /&gt;
So does the number of cores in your CPU not matter? We have 4 searchheads with 8 cores, so by default, we can do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1 * 4 + 6  = 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;concurrent historical searches  with those machines?&lt;/P&gt;

&lt;P&gt;For each machine we add we get only 1 concurrent historical search extra?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441456#M125404</guid>
      <dc:creator>sboogaar</dc:creator>
      <dc:date>2020-09-29T23:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441457#M125405</link>
      <description>&lt;P&gt;Hello @sboogar&lt;/P&gt;

&lt;P&gt;A historical search is a search that has a distinct time range, such as the past hour, the previous day, or "between 2 and 4 last Tuesday". Historical searches usually review data in the past, but you can set up these searches to review events with future-dated timestamps, if your index contains them.&lt;/P&gt;

&lt;P&gt;In Limits.conf there are different parameter which can help you out. This is the formula which is used for this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;max_searches_per_cpu x number_of_cpus + base_max_searches = max_hist_searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The default settings are base_max_searches = 6, max_searches_per_cpu = 1, max_searches_per = 50, and max_rt_search_multiplier = These settings can be changes using limits.conf but you need to be careful as it all depends on your hardware capability.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441457#M125405</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2020-09-29T23:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441458#M125406</link>
      <description>&lt;P&gt;@vishaltaneja07011993  Do subsearches/joins count? what if I have 5 joins in a query do I have 6 concurrent historical searches than?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 12:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441458#M125406</guid>
      <dc:creator>sboogaar</dc:creator>
      <dc:date>2019-02-01T12:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441459#M125407</link>
      <description>&lt;P&gt;No, subsearch will run first and then the base search. But there is a catch: &lt;CODE&gt;By default, subsearches return a maximum of 10,000 results and have a maximum runtime of 60 seconds. In large production environments, it is possible that the subsearch will timeout before it completes. The best option is to rewrite the query to limit the number of events that the subsearch must process.&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 12:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441459#M125407</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-02-01T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441460#M125408</link>
      <description>&lt;P&gt;But even if all the joins return only 1 results it is counted as 6 concurrent historical searches right? so if I run 5 querys  with 5 joins on the same time im doing 30 concurrent historical searches?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441460#M125408</guid>
      <dc:creator>sboogaar</dc:creator>
      <dc:date>2019-02-01T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441461#M125409</link>
      <description>&lt;P&gt;yes it will count as 6 searches but not concurrent as it will run one by one not at a single which can cause a block. Thats why there is a max runtime and max search result limit on subsearch.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441461#M125409</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-02-01T13:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441462#M125410</link>
      <description>&lt;P&gt;@vishaltaneja07011993 I do not see the relation between blocking searches and " max runtime and max search result limit on subsearch."&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:22:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441462#M125410</guid>
      <dc:creator>sboogaar</dc:creator>
      <dc:date>2019-02-01T13:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone explain concurrent historical searches to me?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441463#M125411</link>
      <description>&lt;P&gt;@sboogaar&lt;BR /&gt;
Don't get confused with the words, max runtime and max search result limit has been applied on subsearch so that, subsearch should not take a lot of time to run and block the main search to run. &lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-explain-concurrent-historical-searches-to-me/m-p/441463#M125411</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-02-01T13:36:57Z</dc:date>
    </item>
  </channel>
</rss>

