<?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: Search issue: Error in Surrounding in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143944#M40031</link>
    <description>&lt;P&gt;I have found my answer in the following:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/351000/streamed-search-execute-failed-because-error-in-su.html" target="_blank"&gt;https://answers.splunk.com/answers/351000/streamed-search-execute-failed-because-error-in-su.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The max_count setting in [show_source] must be set on the Search Peers, as the Search Head doesn't push that value when requesting the search.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:12:21 GMT</pubDate>
    <dc:creator>rkilen</dc:creator>
    <dc:date>2020-09-29T10:12:21Z</dc:date>
    <item>
      <title>Search issue: Error in Surrounding</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143941#M40028</link>
      <description>&lt;P&gt;On event actions under show source my users are getting the following error:&lt;/P&gt;

&lt;P&gt;Streamed search execute failed because: Error in 'surrounding': Too many events (&amp;gt; 10000) in a single second.&lt;BR /&gt;
No search results for surrounding search where targetId=239:112912518&lt;/P&gt;

&lt;P&gt;I have two search heads and this error only occurs on one search head and I can't find anything different in the two.  I only have one indexer at this point.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 18:54:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143941#M40028</guid>
      <dc:creator>sreynolds30</dc:creator>
      <dc:date>2014-07-15T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search issue: Error in Surrounding</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143942#M40029</link>
      <description>&lt;P&gt;I ran into the same issue today.  I was able to find a parameter in limits.conf&lt;BR /&gt;
When I bumped it up, the problem was solved.  I don't know how it will affect performance, so I'll probably take it out. I'm pretty sure it only occurred because we have temporarily put some logs in debug.&lt;/P&gt;

&lt;P&gt;I created /opt/splunk/etc/system/local/limits.conf with this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[show_source]
#maximum events retriveable by show source
max_count = 50000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Aug 2014 18:32:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143942#M40029</guid>
      <dc:creator>geneoshaughness</dc:creator>
      <dc:date>2014-08-25T18:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search issue: Error in Surrounding</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143943#M40030</link>
      <description>&lt;P&gt;I have some users getting this same error, but others who don't for the same event. I set max_count = 50000 in limits.conf and restarted Splunk, but the error message still happens, and still says 10000. I looked through the logs to see if I could verify that the setting took, but haven't been able to find it yet.&lt;/P&gt;

&lt;P&gt;Any suggestions for how I can verify the higher limit? Are there perhaps some capabilities that would make show source behave differently for users in different roles?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 13:43:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143943#M40030</guid>
      <dc:creator>rkilen</dc:creator>
      <dc:date>2016-07-13T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search issue: Error in Surrounding</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143944#M40031</link>
      <description>&lt;P&gt;I have found my answer in the following:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/351000/streamed-search-execute-failed-because-error-in-su.html" target="_blank"&gt;https://answers.splunk.com/answers/351000/streamed-search-execute-failed-because-error-in-su.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The max_count setting in [show_source] must be set on the Search Peers, as the Search Head doesn't push that value when requesting the search.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-issue-Error-in-Surrounding/m-p/143944#M40031</guid>
      <dc:creator>rkilen</dc:creator>
      <dc:date>2020-09-29T10:12:21Z</dc:date>
    </item>
  </channel>
</rss>

