<?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: Receiving strange errors when searching messages by old dates in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621683#M216101</link>
    <description>&lt;P&gt;Hello, tell me, where should I add this in the request?&lt;BR /&gt;Request example:&lt;/P&gt;&lt;P&gt;index="main"&lt;/P&gt;&lt;P&gt;| eval srcMsgId_Исх_Сообщения=if(len('Correlation_srcMsgId')==0 OR isnull('Correlation_srcMsgId'),'srcMsgId','Correlation_srcMsgId')&lt;/P&gt;&lt;P&gt;| eval timeValue='eventTime'&lt;/P&gt;&lt;P&gt;| eval time=strptime(timeValue,"%Y-%m-%dT%H:%M:%S.%3N%Z") | sort -eventTime | streamstats values(time) current=f&amp;nbsp; window=1 as STERAM_RESULT&amp;nbsp; global=false by srcMsgId_Исх_Сообщения&lt;/P&gt;&lt;P&gt;| eval diff=STERAM_RESULT-time&lt;/P&gt;&lt;P&gt;| stats list(diff)&amp;nbsp; as TIME_DIF list(eventTime) as eventTime list(srcMsgId) as srcMsgId_Бизнес_Сообщения list(routepointID) as routepointID count as&amp;nbsp; Кол_Сообщений by srcMsgId_Исх_Сообщения&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 11:38:17 GMT</pubDate>
    <dc:creator>metylkinandrey</dc:creator>
    <dc:date>2022-11-22T11:38:17Z</dc:date>
    <item>
      <title>Receiving strange errors when searching messages by old dates?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/620730#M215778</link>
      <description>&lt;P&gt;I get strange errors when searching messages by old dates.&lt;/P&gt;
&lt;P&gt;If I put a search for more than two hours, I immediately get the following errors:&lt;/P&gt;
&lt;DIV class=""&gt;2 errors occurred while the search was executing. Therefore, search results might be incomplete.&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;'stats' command: limit for values of field 'Time' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;LI&gt;'stats' command: limit for values of field 'messageType' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;From four days:&lt;/P&gt;
&lt;DIV class=""&gt;4 errors occurred while the search was executing. Therefore, search results might be incomplete.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;'stats' command: limit for values of field 'Time' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;LI&gt;'stats' command: limit for values of field 'eventTime' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;LI&gt;'stats' command: limit for values of field 'messageId' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;LI&gt;'stats' command: limit for values of field 'messageType' reached. Some values may have been truncated or ignored.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;One of my requests:&lt;/P&gt;
&lt;P&gt;index="external_system" messageType="RABIS-HeartBeat"&lt;BR /&gt;| eval timeValue='eventTime'&lt;BR /&gt;| eval time=strptime(timeValue,"%Y-%m-%dT%H:%M:%S")&lt;BR /&gt;| sort -_time&lt;BR /&gt;| eval timeValue='eventTime'&lt;BR /&gt;| eval time=strptime(timeValue,"%Y-%m-%dT%H:%M:%S")&lt;BR /&gt;| eval Time=strftime(_time,"%Y-%m-%dT%H:%M:%S")&lt;BR /&gt;| stats list(Time) as Time list(eventTime) as EventTime list(messageType) as MessageType list(messageId) as Messag11eId by messageType&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Message example:&lt;/P&gt;
&lt;P&gt;curl --location --request POST '&lt;A href="http://mon.pd.dev.sis.org:8088/services/collector/raw" target="_blank" rel="noopener"&gt;http://mon.pd.dev.sis.org:8088/services/collector/raw&lt;/A&gt;' --header 'Authorization: Splunk 02-93-48-9-27' --header 'Content-Type: text/plain' --data-raw '{&lt;BR /&gt;"messageType": "HeartBeat",&lt;BR /&gt;"eventTime": "2022-11-14T13:34:15",&lt;BR /&gt;"messageId": "ED280816-E404-444A-A2D9-FFD2D171F9999"&lt;BR /&gt;}'&lt;/P&gt;
&lt;P&gt;Can you please tell me how to solve these problems?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:53:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/620730#M215778</guid>
      <dc:creator>metylkinandrey</dc:creator>
      <dc:date>2022-11-15T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving strange errors when searching messages by old dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/620844#M215809</link>
      <description>&lt;P&gt;From &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf" target="_blank" rel="noopener"&gt;limits.conf&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[stats]
...
list_maxsize = 100
...&lt;/LI-CODE&gt;&lt;P&gt;Just note that list is very expensive in terms of RAM. &amp;nbsp;If you have a lot of events,&amp;nbsp; list(Time) as Time list(eventTime) as EventTime is practically suicidal. &amp;nbsp;It is best to avoid such stats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 07:26:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/620844#M215809</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-15T07:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving strange errors when searching messages by old dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621683#M216101</link>
      <description>&lt;P&gt;Hello, tell me, where should I add this in the request?&lt;BR /&gt;Request example:&lt;/P&gt;&lt;P&gt;index="main"&lt;/P&gt;&lt;P&gt;| eval srcMsgId_Исх_Сообщения=if(len('Correlation_srcMsgId')==0 OR isnull('Correlation_srcMsgId'),'srcMsgId','Correlation_srcMsgId')&lt;/P&gt;&lt;P&gt;| eval timeValue='eventTime'&lt;/P&gt;&lt;P&gt;| eval time=strptime(timeValue,"%Y-%m-%dT%H:%M:%S.%3N%Z") | sort -eventTime | streamstats values(time) current=f&amp;nbsp; window=1 as STERAM_RESULT&amp;nbsp; global=false by srcMsgId_Исх_Сообщения&lt;/P&gt;&lt;P&gt;| eval diff=STERAM_RESULT-time&lt;/P&gt;&lt;P&gt;| stats list(diff)&amp;nbsp; as TIME_DIF list(eventTime) as eventTime list(srcMsgId) as srcMsgId_Бизнес_Сообщения list(routepointID) as routepointID count as&amp;nbsp; Кол_Сообщений by srcMsgId_Исх_Сообщения&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 11:38:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621683#M216101</guid>
      <dc:creator>metylkinandrey</dc:creator>
      <dc:date>2022-11-22T11:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving strange errors when searching messages by old dates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621686#M216104</link>
      <description>&lt;P&gt;I try like this for example:&lt;/P&gt;&lt;P&gt;| eval src_Msg_Id=if(len('srcMsgId')==0 OR isnull('srcMsgId')," ",'srcMsgId')&lt;BR /&gt;| stats list_maxsize = 10000&lt;BR /&gt;| stats list(diff) as TIME_DIF list(event_Time) as EventTime list(src_Msg_Id) as srcMsgId_Бизнес_Сообщения list(routepoint_ID) as RoutepointID list(t_i_d) as Tid list(GISGMP_Request) as GISGMPRequestID list(message_Type) as MessageType list(Packet_GIS_GMP_Id) as PacketGISGMPId count as Кол_Сообщений by srcMsgId_Исх_Сообщения&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesn't help&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 11:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621686#M216104</guid>
      <dc:creator>metylkinandrey</dc:creator>
      <dc:date>2022-11-22T11:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving strange errors when searching messages by old dates?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621688#M216106</link>
      <description>&lt;P&gt;All. I'm sorry, I saw that these are the settings:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf?_ga=2.106615685.729373533.1669112840-1999985643.1668070763" target="_blank" rel="noopener nofollow noreferrer"&gt;limits.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 12:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Receiving-strange-errors-when-searching-messages-by-old-dates/m-p/621688#M216106</guid>
      <dc:creator>metylkinandrey</dc:creator>
      <dc:date>2022-11-22T12:00:54Z</dc:date>
    </item>
  </channel>
</rss>

