<?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: splunk index cuts out some lines in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411415#M72840</link>
    <description>&lt;P&gt;Thanks nadlurinadluri  and swong_splunk for your answers. Truncate=0 did the magic. &lt;/P&gt;

&lt;P&gt;On a different note, now that it works in my local box, I need to move it to live. I am not very conversant with Splunk. In my live environment, we use the indexer, deployment servers, forwarders and then the search heads. Earlier I created app for the index , which works on live but just does not index everything as I said before which you resolved on my local box. In live, I  am confused about which server to put the customised props.conf or if I should add other files as  I also see online some people use transforms.conf, indexes.conf etc. Not sure what to do here and how to specify the source of the file. Please help. &lt;/P&gt;

&lt;P&gt;This is the config that works in my local box&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
BREAK_ONLY_BEFORE = Path=&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 6000000&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
SEGMENTATION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = indexing&lt;BR /&gt;
SEGMENTATION-all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = full&lt;BR /&gt;
SEGMENTATION-inner&amp;nbsp;&amp;nbsp;&amp;nbsp; = inner&lt;BR /&gt;
SEGMENTATION-outer&amp;nbsp;&amp;nbsp;&amp;nbsp; = outer&lt;BR /&gt;
SEGMENTATION-raw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = true&lt;BR /&gt;
LEARN_MODEL &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = false&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority =&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:00:55 GMT</pubDate>
    <dc:creator>aeghobor</dc:creator>
    <dc:date>2020-09-29T21:00:55Z</dc:date>
    <item>
      <title>splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411410#M72835</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am testing splunk config from my local machine before implementing it in production. So i am indexing a json file of about 5000 lines. However when it is indexed I get one event with about 138 lines only if I turn SHOULD_LINEMERGE = true in props.conf. If I set it to false , I get about 218 events with each event about 2-3 lines. How can I get splunk to index the entire lines , I don't really care if it shows as one event or as multiple events. I just want to see the entire content of the file. Here is my props.conf. &lt;BR /&gt;
default]&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE = 100000000000000000000&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
BREAK_ONLY_BEFORE = Path=&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 6000000&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
SEGMENTATION          = indexing&lt;BR /&gt;
SEGMENTATION-all      = full&lt;BR /&gt;
SEGMENTATION-inner    = inner&lt;BR /&gt;
SEGMENTATION-outer    = outer&lt;BR /&gt;
SEGMENTATION-raw      = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE      = true&lt;BR /&gt;
LEARN_MODEL           = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = false&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority =&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411410#M72835</guid>
      <dc:creator>aeghobor</dc:creator>
      <dc:date>2020-09-29T20:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411411#M72836</link>
      <description>&lt;P&gt;Splunk can already handle JSON formatted files.  Make sure the file is in a correct JSON format.&lt;/P&gt;

&lt;P&gt;You’ll probably need to add in your configuration(s):&lt;BR /&gt;
KV_MODE = json (tells splunk to automatically perform search time extractions on json data)&lt;BR /&gt;
INDEXED_EXTRACTIONS = json (tells splunk to create index time extractions for the data)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411411#M72836</guid>
      <dc:creator>swong_splunk</dc:creator>
      <dc:date>2020-09-29T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411412#M72837</link>
      <description>&lt;P&gt;On top of these, instead of adding Truncate=1000000000, make it Truncate=0. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 22:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411412#M72837</guid>
      <dc:creator>nadlurinadluri</dc:creator>
      <dc:date>2018-08-17T22:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411413#M72838</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;INDEXED_EXTRACTIONS = JSON&lt;/CODE&gt; and let splunk handle everything.  If you do this, also use &lt;CODE&gt;KV_MODE = AUTO&lt;/CODE&gt; (&lt;EM&gt;NOT&lt;/EM&gt; &lt;CODE&gt;KV_MODE = JSON&lt;/CODE&gt; or you will get 2 copies of everything).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 17:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411413#M72838</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-08-20T17:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411414#M72839</link>
      <description>&lt;P&gt;Great, we ended up with -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; INDEXED_EXTRACTIONS = json
 category = Structured
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;At &lt;A href="https://answers.splunk.com/answers/615506/what-are-the-requirements-for-a-perfect-splunk-jso.html"&gt;What are the requirements for a perfect Splunk JSON document?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 20:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411414#M72839</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-08-20T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411415#M72840</link>
      <description>&lt;P&gt;Thanks nadlurinadluri  and swong_splunk for your answers. Truncate=0 did the magic. &lt;/P&gt;

&lt;P&gt;On a different note, now that it works in my local box, I need to move it to live. I am not very conversant with Splunk. In my live environment, we use the indexer, deployment servers, forwarders and then the search heads. Earlier I created app for the index , which works on live but just does not index everything as I said before which you resolved on my local box. In live, I  am confused about which server to put the customised props.conf or if I should add other files as  I also see online some people use transforms.conf, indexes.conf etc. Not sure what to do here and how to specify the source of the file. Please help. &lt;/P&gt;

&lt;P&gt;This is the config that works in my local box&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
BREAK_ONLY_BEFORE = Path=&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 6000000&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
SEGMENTATION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = indexing&lt;BR /&gt;
SEGMENTATION-all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = full&lt;BR /&gt;
SEGMENTATION-inner&amp;nbsp;&amp;nbsp;&amp;nbsp; = inner&lt;BR /&gt;
SEGMENTATION-outer&amp;nbsp;&amp;nbsp;&amp;nbsp; = outer&lt;BR /&gt;
SEGMENTATION-raw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = true&lt;BR /&gt;
LEARN_MODEL &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = false&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority =&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411415#M72840</guid>
      <dc:creator>aeghobor</dc:creator>
      <dc:date>2020-09-29T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411416#M72841</link>
      <description>&lt;P&gt;For the current configuration, I guess adding them in the props.conf on the indexer side should be sufficient. &lt;/P&gt;

&lt;P&gt;Also, for your future reference have this links handy to know where the configurations has to be set up.&lt;BR /&gt;
&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/504273/which-properties-are-available-for-a-universal-for.html"&gt;https://answers.splunk.com/answers/504273/which-properties-are-available-for-a-universal-for.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 17:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411416#M72841</guid>
      <dc:creator>nadlurinadluri</dc:creator>
      <dc:date>2018-08-22T17:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411417#M72842</link>
      <description>&lt;P&gt;nadlurinadluri those links don't work but thanks for getting back again. Would adding it to /opt//splunk/etc/system/local/props.conf on the indexer suffice?  Also if I change the default source to how it is now on the first line, would that be ok, just like below? bearing in mind [/var/log/lighthouse/*.json] is the path of  the files being indexed  in the  lighthouse server. Sorry to be a pain ; I am relatively new to splunk.&lt;/P&gt;

&lt;P&gt;[/var/log/lighthouse/*.json]&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
BREAK_ONLY_BEFORE = Path=&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 6000000&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
SEGMENTATION          = indexing&lt;BR /&gt;
SEGMENTATION-all      = full&lt;BR /&gt;
SEGMENTATION-inner    = inner&lt;BR /&gt;
SEGMENTATION-outer    = outer&lt;BR /&gt;
SEGMENTATION-raw      = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE      = true&lt;BR /&gt;
LEARN_MODEL           = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = false&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority =&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411417#M72842</guid>
      <dc:creator>aeghobor</dc:creator>
      <dc:date>2020-09-29T21:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: splunk index cuts out some lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411418#M72843</link>
      <description>&lt;P&gt;/opt//splunk/etc/system/local/props.conf on the indexer suffice ---- this should be fine.&lt;/P&gt;

&lt;P&gt;[/var/log/lighthouse/*.json] &lt;/P&gt;

&lt;P&gt;----- You can mention sourcetype of those files mentioned here instead of default OR [/var/log/lighthouse/&lt;EM&gt;.json] &lt;BR /&gt;
----- If you want to use source path over there , you need to use the below:&lt;BR /&gt;
 [source::/var/log/lighthouse/&lt;/EM&gt;.json] &lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 22:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-index-cuts-out-some-lines/m-p/411418#M72843</guid>
      <dc:creator>nadlurinadluri</dc:creator>
      <dc:date>2018-08-25T22:10:53Z</dc:date>
    </item>
  </channel>
</rss>

