<?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: Event line breaker to index multi-line events into single event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576823#M101897</link>
    <description>&lt;P class="lia-align-center"&gt;Yes, technically it should work but upon checking the end of line character in the log file it shows CRLF character for each line.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssamant007_0-1638312693026.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17063iEEBBEEAE1B578B5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssamant007_0-1638312693026.png" alt="ssamant007_0-1638312693026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see in the image that&amp;nbsp; EOL character in log file entries has \r\n for each line.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 22:53:37 GMT</pubDate>
    <dc:creator>ssamant007</dc:creator>
    <dc:date>2021-11-30T22:53:37Z</dc:date>
    <item>
      <title>Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576819#M101895</link>
      <description>&lt;P&gt;My current log monitoring splunk forwarder is indexing events in group (like sometimes more than 1 events together) but I wanted to have each event (which is own datetime at the start) to be indexed separately. Only the starting of event is same for each line (event) and rest of the string varies. I tried configuring the props.conf file using the following formats:&lt;/P&gt;&lt;P&gt;LINE_BREAKER = ([\r\n]+) (though its by default but seems not working as my events are separated by newline or \r in the source log file)&lt;/P&gt;&lt;P&gt;and then I tried as below:&lt;/P&gt;&lt;PRE&gt;BREAK_ONLY_BEFORE = ^\d+\s*$&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Currently it is being indexed as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssamant007_0-1638311294280.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17062iE33ACCB63E888D94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssamant007_0-1638311294280.png" alt="ssamant007_0-1638311294280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I wanted to have each entry indexed as a separate event.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Entries in source file (example)&lt;/P&gt;&lt;P&gt;2021-Dec-01 Wed 08:50:06.914 INFO [Thread-3] - org.eclipse.jetty.server.session - {} - doStart(DefaultSessionIdManager.java:334) - DefaultSessionIdManager workerName=node0&lt;BR /&gt;2021-Dec-01 Wed 08:50:06.915 INFO [Thread-3] - org.eclipse.jetty.server.session - {} - doStart(DefaultSessionIdManager.java:339) - No SessionScavenger set, using defaults&lt;BR /&gt;2021-Dec-01 Wed 08:50:06.917 INFO [Thread-3] - org.eclipse.jetty.server.session - {} - startScavenging(HouseKeeper.java:132) - node0 Scavenging every 660000ms&lt;BR /&gt;2021-Dec-01 Wed 08:50:06.956 INFO [Thread-3] - org.eclipse.jetty.server.AbstractConnector - {} - doStart(AbstractConnector.java:331) - Started ServerConnector@5e283ab9{HTTP/1.1, (http/1.1)}{127.0.0.1:22113}&lt;BR /&gt;2021-Dec-01 Wed 08:50:06.956 INFO [Thread-3] - org.eclipse.jetty.server.Server - {} - doStart(Server.java:415) - Started @6850ms&lt;BR /&gt;2021-Dec-01 Wed 08:50:24.331 INFO [pool-6-thread-1] - com.automationanywhere.nodemanager.service.impl.WindowsEventServiceImpl - {} - onMachineLogon(WindowsEventServiceImpl.java:226) - Machine Logon: 1&lt;BR /&gt;2021-Dec-01 Wed 08:58:35.372 INFO [pool-6-thread-1] - com.automationanywhere.nodemanager.service.impl.WindowsEventServiceImpl - {} - onMachineLocked(WindowsEventServiceImpl.java:204) - Machine Locked: 1&lt;BR /&gt;2021-Dec-01 Wed 09:17:38.934 INFO [pool-6-thread-1] - com.automationanywhere.nodemanager.service.impl.WindowsEventServiceImpl - {} - onMachineUnlocked(WindowsEventServiceImpl.java:214) - Machine Unlocked: 1&lt;BR /&gt;2021-Dec-01 Wed 09:17:38.937 INFO [pool-6-thread-1] - com.automationanywhere.nodemanager.service.impl.WindowsEventServiceImpl - {} - onMachineUnlocked(WindowsEventServiceImpl.java:216) - Session id 1 removed from tracking on machine unlock.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; would appreciate any help in configuring the props.conf file to index events&amp;nbsp; as a single entry.&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 22:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576819#M101895</guid>
      <dc:creator>ssamant007</dc:creator>
      <dc:date>2021-11-30T22:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576821#M101896</link>
      <description>&lt;P&gt;Well, if your line breaker is indeed the default ([\r\n]+), then there must be something wrong with your log because both a single \r or a single \n or any combination of those two characters constitutes a linebreak.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 22:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576821#M101896</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-30T22:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576823#M101897</link>
      <description>&lt;P class="lia-align-center"&gt;Yes, technically it should work but upon checking the end of line character in the log file it shows CRLF character for each line.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssamant007_0-1638312693026.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17063iEEBBEEAE1B578B5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssamant007_0-1638312693026.png" alt="ssamant007_0-1638312693026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see in the image that&amp;nbsp; EOL character in log file entries has \r\n for each line.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 22:53:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576823#M101897</guid>
      <dc:creator>ssamant007</dc:creator>
      <dc:date>2021-11-30T22:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576946#M101912</link>
      <description>&lt;P&gt;Do you have other settings affecting event breaking?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Configureeventlinebreaking" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Configureeventlinebreaking&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 20:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576946#M101912</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-12-01T20:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576956#M101914</link>
      <description>&lt;P&gt;Hi yes, I have gone through the documentation as well, and I have configured the props.conf file inside the $splunk_home$\etc\system\local\ as follows:&lt;/P&gt;&lt;P&gt;[mysource-type]&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;DATETIME_CONFIG = CURRENT&lt;/P&gt;&lt;P&gt;..and the default values of props.conf file in the ..\system\default\ folder are as follows:&lt;/P&gt;&lt;P&gt;[default]&lt;BR /&gt;CHARSET = AUTO&lt;BR /&gt;LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;TRUNCATE = 10000&lt;BR /&gt;LB_CHUNK_BREAKER_TRUNCATE = 2000000&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;DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = false&lt;BR /&gt;SHOULD_LINEMERGE = True&lt;BR /&gt;BREAK_ONLY_BEFORE =&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;MAX_EVENTS = 256&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;termFrequencyWeightedDist = false&lt;BR /&gt;maxDist = 100&lt;BR /&gt;AUTO_KV_JSON = true&lt;BR /&gt;detect_trailing_nulls = auto&lt;BR /&gt;sourcetype =&lt;BR /&gt;priority =&lt;/P&gt;&lt;P&gt;Do you think I missed on the some other configurations?? I double check that in the source log file each line are separated with CRLF charatcter...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 22:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576956#M101914</guid>
      <dc:creator>ssamant007</dc:creator>
      <dc:date>2021-12-01T22:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Event line breaker to index multi-line events into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576993#M101916</link>
      <description>&lt;P&gt;apparently, it worked after selecting the sourcetype as CSV.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-line-breaker-to-index-multi-line-events-into-single-event/m-p/576993#M101916</guid>
      <dc:creator>ssamant007</dc:creator>
      <dc:date>2021-12-02T08:27:26Z</dc:date>
    </item>
  </channel>
</rss>

