<?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: Errors through REST API but not through Splunk GUI in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/519313#M146239</link>
    <description>&lt;P&gt;did you try same search with same time range for which you are seeing error from script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Sep 2020 16:13:15 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-09-13T16:13:15Z</dc:date>
    <item>
      <title>Errors through REST API but not through Splunk GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518760#M145987</link>
      <description>&lt;P&gt;One of our teams is running&amp;nbsp; Java script that uses REST API to fetch data from Splunk Cloud using the search.&lt;BR /&gt;They run it around 1am EST, once per day. Usually it runs successfully but sometimes, not clear due to what reason, the script fails due to the following error:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;"Events might not be returned in sub-second order due to search memory limits. See search.log for more information. Increase the value of the following limits.conf setting:[search]:max_rawsize_perchunk."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Here is the more detailed output from the script log:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-09-09 01:59:17,172 [INFO ] [mcsplunk] Connecting to splunk&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; 2020-09-09 01:59:17,173 [INFO ] [mcsplunk] Setting up proxy to establish connection&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; 2020-09-09 01:59:17,234 [INFO ] [mcsplunk] Successfully established connection &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;with Splunk on host "our_host" using User&amp;nbsp;"our_user" in app conext "our_app_name"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; 2020-09-09 01:59:17,234 [INFO ] [mcsplunk] Starting to fetch data from Splunk&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; 2020-09-09 01:59:29,740 [INFO ] [mcsplunk] Splunk query execution has completed. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Scanned:723492, Matched:723036,Results:1, Run Duration:11.146&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; 09-09-2020 05:01:28.899 +0000 ERROR SearchMessages - orig_component="CursoredSearch" &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;sid="1234567.123jobid"&amp;nbsp; &amp;nbsp; &amp;nbsp;peer_name="indexer01.ourdomain.com" message=[indexer01.ourdomain.com] Events might not be returned in sub-second order due to search memory limits. See search.log for more information. Increase the value of the following limits.conf setting:[search]:max_rawsize_perchunk.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But when we attempt to run the same splunk search in Splunk Cloud GUI - it works fine, no errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what could be the cause of such behavior?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 19:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518760#M145987</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2020-09-09T19:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Errors through REST API but not through Splunk GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518853#M146052</link>
      <description>&lt;P&gt;Search is returning more results which is actually more than user's disk space quota set in Role of that particular user used for authentication in rest query.&lt;/P&gt;&lt;P&gt;to increase user quota ( disk space limit) , open roles under settings and choose the role of the user and change quota.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also recommend to follow best practices to improve search performance and have more work load on indexers rather on search head ( I believe you search is bringing all results to search head and then results are processed).&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 08:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518853#M146052</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-10T08:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Errors through REST API but not through Splunk GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518976#M146127</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&amp;nbsp; thank you for suggestion. The disk quota was already 5000Mb, we increased it to 7500MB and it didn't help. Still getting the same error. Script fails as a result&lt;BR /&gt;&lt;BR /&gt;When we login to Splunk Cloud GUI with the user id that the scheduled script runs with - it works without giving us the error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 00:16:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/518976#M146127</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2020-09-11T00:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Errors through REST API but not through Splunk GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/519256#M146218</link>
      <description>&lt;P&gt;look into below thread.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Installation/quot-Events-may-not-be-returned-in-sub-second-order-due-to/m-p/136708" target="_blank"&gt;https://community.splunk.com/t5/Installation/quot-Events-may-not-be-returned-in-sub-second-order-due-to/m-p/136708&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 06:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/519256#M146218</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-13T06:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Errors through REST API but not through Splunk GUI</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/519313#M146239</link>
      <description>&lt;P&gt;did you try same search with same time range for which you are seeing error from script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 16:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Errors-through-REST-API-but-not-through-Splunk-GUI/m-p/519313#M146239</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-13T16:13:15Z</dc:date>
    </item>
  </channel>
</rss>

