<?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: Can I change the stats  limit in splunk for the max characters? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615853#M214005</link>
    <description>&lt;P&gt;yes it is working if I use a raw option with a regex, all events have message field, This link with the number of&amp;nbsp;characters , some max.&lt;/P&gt;&lt;P&gt;I cannot apply this solution (&lt;SPAN&gt;ex field=_raw ".*message\":(?&amp;lt;new_message&amp;gt;.*)")&amp;nbsp; on this more complexe request&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index="bnc_6261_pr_log_conf" logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&amp;nbsp;&amp;nbsp; |&amp;nbsp; stats list(ms) as msg by logStreamName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;because I have the same issue I lose the event have message with more 10 000 characters...&lt;/P&gt;&lt;P&gt;Hugues&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 16:25:53 GMT</pubDate>
    <dc:creator>Hugues</dc:creator>
    <dc:date>2022-10-04T16:25:53Z</dc:date>
    <item>
      <title>Can I change the stats  limit in Splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615667#M213951</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;
&lt;P&gt;My problem is I thing Splunk have max character accepted for stats command,&lt;/P&gt;
&lt;P&gt;when i perform this search&lt;/P&gt;
&lt;P&gt;index="bnc_6261_pr_log_conf"&amp;nbsp; logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&lt;/P&gt;
&lt;P&gt;I see 3 event, and now if I perform this request&lt;/P&gt;
&lt;P&gt;index="bnc_6261_pr_log_conf"&amp;nbsp; logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" | eval l = len(message) | stats values(l) as NumberOfCar&lt;/P&gt;
&lt;P&gt;I received two len, one was lose&lt;/P&gt;
&lt;P&gt;172&lt;/P&gt;
&lt;P&gt;6277&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I perform this statistic request :&lt;/P&gt;
&lt;P&gt;index="bnc_6261_pr_log_conf" | logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" | eval length=len(_raw) | stats max(length) perc95(length) max(linecount) perc95(linecount)&lt;/P&gt;
&lt;P&gt;recived:&lt;/P&gt;
&lt;P&gt;Max(Length):29886&lt;/P&gt;
&lt;P&gt;perc95(Length):275756&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The event I lose have effectively 28973 character,&amp;nbsp; I thing the actual limit is 10 000.... I already change&amp;nbsp;TRUNCATE parameter at 80 000. It for that I can load event with up to 10 000 character....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is, Can I change the stats&amp;nbsp; limit in splunk for the max characters ? with which parameter ? and where from the web page ? can be change by non admin&amp;nbsp; and for a&amp;nbsp; specific source ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank for your future help.&lt;/P&gt;
&lt;P&gt;Hugues&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 16:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615667#M213951</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T16:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615668#M213952</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249889"&gt;@Hugues&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;My problem is I thing Splunk have max character accepted for stats command,&lt;/P&gt;&lt;P&gt;when i perform this search&lt;/P&gt;&lt;P&gt;index="bnc_6261_pr_log_conf"&amp;nbsp; logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&lt;/P&gt;&lt;P&gt;I see 3 event, and now if I perform this request&lt;/P&gt;&lt;P&gt;index="bnc_6261_pr_log_conf"&amp;nbsp; logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" | eval l = len(message) | stats values(l) as NumberOfCar&lt;/P&gt;&lt;P&gt;I received two len, one was lose&lt;/P&gt;&lt;P&gt;172&lt;/P&gt;&lt;P&gt;6277&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We don't have enough information to say this is a problem.&amp;nbsp; If two message fields have the same length then only two values will be displayed.&amp;nbsp; Use &lt;FONT face="courier new,courier"&gt;stats list(l)&lt;/FONT&gt; to view all lengths rather than just the unique ones.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;if I perform this statistic request :&lt;/P&gt;&lt;P&gt;index="bnc_6261_pr_log_conf" | logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" | eval length=len(_raw) | stats max(length) perc95(length) max(linecount) perc95(linecount)&lt;/P&gt;&lt;P&gt;recived:&lt;/P&gt;&lt;P&gt;Max(Length):29886&lt;/P&gt;&lt;P&gt;perc95(Length):275756&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The event I lose have effectively 28973 character,&amp;nbsp; I thing the actual limit is 10 000.... I already change&amp;nbsp;TRUNCATE parameter at 80 000. It for that I can load event with up to 10 000 character....&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You're comparing apples to oranges.&amp;nbsp; The previous query gets the length (only) of the message field whereas this query gets the length of the entire event.&lt;/P&gt;&lt;P&gt;I don't see evidence of event truncation, but if it is happening then there will be messages in splunkd.log saying so.&amp;nbsp; To find them use this search&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=linebreakingprocessor message="truncating*"&lt;/LI-CODE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;My question is, Can I change the stats&amp;nbsp; limit in splunk for the max characters ? with which parameter ? and where from the web page ? can be change by non admin&amp;nbsp; and for a&amp;nbsp; specific source ?&lt;/BLOCKQUOTE&gt;&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command does not have a character limit.&amp;nbsp; Some &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; functions have a limit on the number of results they can return, but that does not appear to apply here.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 17:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615668#M213952</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-03T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615681#M213953</link>
      <description>&lt;P&gt;Your thinking is wrong.&lt;/P&gt;&lt;P&gt;Check this example:&lt;/P&gt;&lt;PRE&gt;| makeresults &lt;BR /&gt;| eval a="a,a,a" &lt;BR /&gt;| eval a=split(a,",")&lt;BR /&gt;| mvexpand a&lt;BR /&gt;| stats values(a)&lt;/PRE&gt;&lt;P&gt;It generates three different rows, all containing field &lt;EM&gt;a&lt;/EM&gt; with value "a" but in the end &lt;EM&gt;stats values(a)&lt;/EM&gt; returns only one "a", because it lists only unique values. So if any two of your three events have the same length of &lt;EM&gt;message&lt;/EM&gt; field, you'll get just two results at the end of your stats.&lt;/P&gt;&lt;P&gt;And it has nothing to do with _raw message, or anything else so your further "analysis" is pointless.&lt;/P&gt;&lt;P&gt;Oh, and don't use wildcards at the beginning of search terms. They are extremely inefficient.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 17:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615681#M213953</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-10-03T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615708#M213960</link>
      <description>&lt;P&gt;Thanks for your reply, Sorry im a newbie , I try give you much detail possible...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try give you more information. When I try this request,&lt;/P&gt;&lt;P&gt;&amp;gt;index="bnc_6261_pr_log_conf" logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&lt;/P&gt;&lt;P&gt;Output of 3 event with different message content and lenght:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_1-1664821304684.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21842i745F100DF56E2AAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_1-1664821304684.png" alt="Hugues_1-1664821304684.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Event 11:31:51/&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_6-1664822083405.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21847i1C845BF14447DF81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_6-1664822083405.png" alt="Hugues_6-1664822083405.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Event 11:31:16:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_7-1664822294832.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21848i7B9FCA642D81D6D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_7-1664822294832.png" alt="Hugues_7-1664822294832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Event 11:30:46/&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_8-1664822572567.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21849i59D11220BC547ED2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_8-1664822572567.png" alt="Hugues_8-1664822572567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I count of length of each message, I have only two length in the output, The biggest message count are not there. All message are different , time is different and all 3 have the same logstream name.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;index="bnc_6261_pr_log_conf"&amp;nbsp; logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" | eval l = len(message) | stats values(l) as NumberOfCar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_9-1664822729260.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21850iE6384C883B978ACB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_9-1664822729260.png" alt="Hugues_9-1664822729260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create this small exemple&amp;nbsp; for try to explain my problem. I have same problem with a more complexe request.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;gt;index="bnc_6261_pr_log_conf" logStreamName="c36be289-86f8-4406-94ea-6933b26f9767/i-0ee87265c1f2f4fb7/PatchLinux/stdout" | stats list(message) as msg by logStreamName&lt;/P&gt;&lt;P class=""&gt;my list msg for each logstram name lose the biggest message when is bigger of some number of caracters, may be 10 000.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Il try your request ,&lt;/P&gt;&lt;P class=""&gt;&amp;gt;index=_internal sourcetype=splunkd component=linebreakingprocessor message="truncating*"&lt;/P&gt;&lt;P class=""&gt;and this one&lt;/P&gt;&lt;P class=""&gt;&amp;gt;index=_internal sourcetype=splunkd component=linebreakingprocessor&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;index=_internal sourcetype=splunkd&lt;/P&gt;&lt;P&gt;I have no events&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all ,for your help!&lt;/P&gt;&lt;P&gt;Hugues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 19:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615708#M213960</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-03T19:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615714#M213962</link>
      <description>&lt;P&gt;The screenshots show odd behavior.&amp;nbsp; Please run this query to see what Splunk is setting message lengths to.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="bnc_6261_pr_log_conf" logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" 
| eval l = len(message) 
| table l message&lt;/LI-CODE&gt;&lt;P&gt;That no events are returned from &lt;FONT face="courier new,courier"&gt;index=_internal sourcetype=splunkd&lt;/FONT&gt; means you don't have access to that index.&amp;nbsp; An admin can run that query for you to determine if there are any event truncations.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 19:52:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615714#M213962</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-03T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615826#M213996</link>
      <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;only two event output&lt;/P&gt;&lt;P&gt;not see the event for 11:31:56 with 28973 characters&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_2-1664889599313.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21866iF09FF6A43ACA4067/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_2-1664889599313.png" alt="Hugues_2-1664889599313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have many other exemple with this problem.... It is not the only case.... every time I have a message with more 6000 characters, may be 10 000 , it disapear when I use stats , eval and table command....&lt;/P&gt;&lt;P&gt;thanks for your help. I am a newbie in splunk , your help is precious!&lt;/P&gt;&lt;P&gt;Hugues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615826#M213996</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T13:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615829#M213997</link>
      <description>&lt;P&gt;with raw option it is work&lt;/P&gt;&lt;P&gt;index="bnc_6261_pr_log_conf" logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&lt;BR /&gt;| rex field=_raw ".*message\":(?&amp;lt;new_message&amp;gt;.*)"&lt;BR /&gt;| eval l = len(new_message)&lt;BR /&gt;| stats list(l) as NumberOfCar&lt;/P&gt;&lt;P&gt;give this output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_0-1664892054423.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21868iCFE7FA7E06493617/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_0-1664892054423.png" alt="Hugues_0-1664892054423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now how can solve the problem with this request&lt;/P&gt;&lt;P class=""&gt;index="bnc_6261_pr_log_conf" logStreamName="c36be289-86f8-4406-94ea-6933b26f9767/i-0ee87265c1f2f4fb7/PatchLinux/stdout" |&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;stats list(ms) as msg by logStreamName&lt;/P&gt;&lt;P class=""&gt;Hugues&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615829#M213997</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615831#M213998</link>
      <description>&lt;P&gt;Glad you got the first request working.&amp;nbsp; What's the problem with the second one?&amp;nbsp; Does the ms field exist?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:28:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615831#M213998</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-04T14:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615853#M214005</link>
      <description>&lt;P&gt;yes it is working if I use a raw option with a regex, all events have message field, This link with the number of&amp;nbsp;characters , some max.&lt;/P&gt;&lt;P&gt;I cannot apply this solution (&lt;SPAN&gt;ex field=_raw ".*message\":(?&amp;lt;new_message&amp;gt;.*)")&amp;nbsp; on this more complexe request&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index="bnc_6261_pr_log_conf" logStreamName="*b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout"&amp;nbsp;&amp;nbsp; |&amp;nbsp; stats list(ms) as msg by logStreamName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;because I have the same issue I lose the event have message with more 10 000 characters...&lt;/P&gt;&lt;P&gt;Hugues&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 16:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615853#M214005</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615864#M214015</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;stats list(foo)&lt;/FONT&gt; command requires the foo field to be extracted beforehand, either automatically or as part of the current query.&amp;nbsp; That's why the query started working after the rex command was added to the previous query - it ensured the message field was present in all events.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 17:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615864#M214015</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-04T17:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in Splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615882#M214016</link>
      <description>&lt;P&gt;For Auto KV (key valued) extraction, Splunk has a default limit of&amp;nbsp;10240 characters. You can increase that limit by adjusting maxchars value in limits.conf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;maxchars = &amp;lt;integer&amp;gt;
* When non-zero, truncate _raw to this size and then do auto KV.
* Default: 10240 characters

source: https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Limitsconf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 19:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615882#M214016</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-10-04T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615894#M214018</link>
      <description>&lt;P&gt;All 3 messages have the field message, Check the screenshot I made ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_0-1664912171735.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21874i517D0A74C8C4B1BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_0-1664912171735.png" alt="Hugues_0-1664912171735.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_1-1664912191345.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21875i2FF592A367B45267/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_1-1664912191345.png" alt="Hugues_1-1664912191345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_2-1664912227161.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21876iB55D0C0FB1EBEED3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_2-1664912227161.png" alt="Hugues_2-1664912227161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and I lose the message 11:31:51...&amp;nbsp;&lt;/P&gt;&lt;P&gt;see screenshot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_3-1664914353131.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21878i1F8233CDC3BE3A5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_3-1664914353131.png" alt="Hugues_3-1664914353131.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I perform this request or other type of request with eval on field message , I lose event 11:31:51 in the list msg, only 2 msg appear in List msg.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;if I try easy request&amp;nbsp;index="bnc_6261_pr_log_conf" logStreamName="4a0dc28c-98ce-4f60-b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" AND message="*LONGOS*" , this suppose get out only the message 11:31:51, I get nothing ...&lt;/P&gt;&lt;P class=""&gt;The Event:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_4-1664915171831.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21879iE279D0CA75FED0E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_4-1664915171831.png" alt="Hugues_4-1664915171831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output of my search on&amp;nbsp;logStreamName="4a0dc28c-98ce-4f60-b6b3-f8d14815eaf8/i-09bfc06d1ff10cb79/config_Ec2_CECIO_Linux/stdout" AND message="*LONGOS*"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hugues_5-1664915314578.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21880i5FC6EAD0B4F36E17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hugues_5-1664915314578.png" alt="Hugues_5-1664915314578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Hugues&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 20:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615894#M214018</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T20:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615897#M214020</link>
      <description>&lt;P&gt;Check my response on maxchars on KV extraction. It looks like your fields are extracted using KV.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 20:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615897#M214020</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-10-04T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in Splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615898#M214021</link>
      <description>&lt;P&gt;Thanks ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;it for all app index or it can be only apply on&amp;nbsp;&lt;SPAN&gt;index="bnc_6261_pr_log_conf" ? im a newbie in splunk and&amp;nbsp; im not sure if I use the right word... This change will effect anybody else in our compagnie&amp;nbsp; all other search on other index?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks again&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hugues&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 20:47:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/615898#M214021</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-04T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in Splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/616197#M214162</link>
      <description>&lt;P&gt;Hello all, for some reason I need pass trought _raw my message before use stats.&lt;/P&gt;&lt;P&gt;index="bnc_6261_pr_log_conf" logStreamName="*/i-*/config_Ec2_CECIO_Linux/stdout"&lt;/P&gt;&lt;P&gt;| sort 0 _time&lt;/P&gt;&lt;P&gt;| rex field=_raw ".*message\":(?&amp;lt;new_message&amp;gt;.*)"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (add my message from _raw in&amp;nbsp;new_message)&lt;/P&gt;&lt;P&gt;| rex mode=sed field=new_message "s/\\\n/\n/g"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (I lose my asci format, bring back newline)&lt;/P&gt;&lt;P&gt;| stats list(new_message) as msg by logStreamName Machine_name account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the _raw , I keep all my events with stats command. Some expert from Splunk , start check why I need to do that ... If they find the raison I will communicate the info with you...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/616197#M214162</guid>
      <dc:creator>Hugues</dc:creator>
      <dc:date>2022-10-06T15:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the stats  limit in Splunk for the max characters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/616203#M214167</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;maxchars&lt;/FONT&gt; setting applies to all indexes.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 17:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-change-the-stats-limit-in-Splunk-for-the-max-characters/m-p/616203#M214167</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-06T17:15:07Z</dc:date>
    </item>
  </channel>
</rss>

