<?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: Is there a limit on searchable characters in an event? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355550#M174619</link>
    <description>&lt;P&gt;Hi t_splunk_d, see my updated answer - Can I call myself Expert now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:28:30 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2020-09-29T14:28:30Z</dc:date>
    <item>
      <title>Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355544#M174613</link>
      <description>&lt;P&gt;I am searching on an event with has on an average 25000 - 30000 characters. When I search on the auto extracted fields or regex extracted fields I do not get results for the field value as it is not matching. I think there is a limit for search on the events.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;index=test  status=true   is returning incorrect match results.&lt;BR /&gt;
It returns the events if status=true is within first 10000 characters of the event otherwise it does not.&lt;/P&gt;

&lt;P&gt;Is there a limit and how this can be changed? Any index specific change or any search keyword can overcome this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 01:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355544#M174613</guid>
      <dc:creator>t_splunk_d</dc:creator>
      <dc:date>2017-06-16T01:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355545#M174614</link>
      <description>&lt;P&gt;Hi t_splunk_d,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update after feedback and some more research:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;This is a default setting in &lt;CODE&gt;limits.conf&lt;/CODE&gt; related to the automatic kay value extraction of &lt;CODE&gt;_raw&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxchars = &amp;lt;integer&amp;gt;
* Truncate _raw to this size and then do auto KV.
* Default: 10240 characters
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After increasing this to a higher number I was able to use KV pairs after 10000 characters.&lt;/P&gt;

&lt;P&gt;Another reason could be the event truncation described below.&lt;/P&gt;

&lt;P&gt;this is not limit in the search, your data was truncated by Splunk. &lt;BR /&gt;
Splunk truncates by default events after 10000 bytes or characters, see the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt; for more details but here is the important part:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRUNCATE = &amp;lt;non-negative integer&amp;gt;
* Change the default maximum line length (in bytes).
* Although this is in bytes, line length is rounded down when this would
  otherwise land mid-character for multi-byte characters.
* Set to 0 if you never want truncation (very long lines are, however, often
  a sign of garbage data).
* Defaults to 10000 bytes.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to change this, you need to set in &lt;CODE&gt;props.conf&lt;/CODE&gt; a high truncate value for the source or sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [YourSourceTypeHere]
 TRUNCATE = a higher number than the maximum length of your events
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;apply this on the parsing instance of Splunk (index or heavy weight forwarder), restart this instance and any new data will no longer be truncated.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355545#M174614</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-09-29T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355546#M174615</link>
      <description>&lt;P&gt;It is not the truncation of event, the field/keyword is present in the event but not searchable.&lt;BR /&gt;
Is there a limitation to search for a keyword if it is located beyond 10000? I consistently see that in my search results that if I search for a field which is located beyond 10000 it is not able to locate it, whereas if the same filed is located before 10000 then it is able to locate. I am sure that there is limitation because when I search for the keyword/field the value is returned truncated. Whereas when i copy the whole event into an editor and search the keyword/field it is present. I see this truncation/no results if the keyword/field values are located beyond 10000.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 10:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355546#M174615</guid>
      <dc:creator>t_splunk_d</dc:creator>
      <dc:date>2017-06-16T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355547#M174616</link>
      <description>&lt;P&gt;what version of splunk are you on?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 11:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355547#M174616</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-16T11:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355548#M174617</link>
      <description>&lt;P&gt;Splunk Enterprise 6.5.2&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 12:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355548#M174617</guid>
      <dc:creator>t_splunk_d</dc:creator>
      <dc:date>2017-06-16T12:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355549#M174618</link>
      <description>&lt;P&gt;Experts - Any thoughts?&lt;BR /&gt;
The event is sometimes 20000 or more and appears in the search. But  field values does not shows up (if it is above the 10000) or truncates ( when in the 10000 borderline). Is this limitation of splunk?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 21:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355549#M174618</guid>
      <dc:creator>t_splunk_d</dc:creator>
      <dc:date>2017-06-17T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355550#M174619</link>
      <description>&lt;P&gt;Hi t_splunk_d, see my updated answer - Can I call myself Expert now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:28:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355550#M174619</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-09-29T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on searchable characters in an event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355551#M174620</link>
      <description>&lt;P&gt;Yes!!  No doubt you are an Expert!  Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 21:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-searchable-characters-in-an-event/m-p/355551#M174620</guid>
      <dc:creator>t_splunk_d</dc:creator>
      <dc:date>2017-06-18T21:27:30Z</dc:date>
    </item>
  </channel>
</rss>

