<?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: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349886#M64231</link>
    <description>&lt;P&gt;This works fine for date parsing.&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+)\w+\s*(\d{1}|\d{2})\s\d{2}:\d{2}:\d{2}\s&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2017 10:48:02 GMT</pubDate>
    <dc:creator>rahulcrest</dc:creator>
    <dc:date>2017-11-03T10:48:02Z</dc:date>
    <item>
      <title>Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349877#M64222</link>
      <description>&lt;P&gt;From the 1st until the 9th 23:59:59 of every month, individual events are being combined into one event. As soon as time shifts to the 10th 00:00:00, every events starts getting parsed properly with proper breaks before every date and time...Why is this happening, and how should I troubleshoot a fix for this?&lt;/P&gt;

&lt;P&gt;Event 1) &lt;BR /&gt;
Sep 10 00:00:00 10.39.246.155 date=2017-09-09 time=17:03:41 devname......and so on (single line)&lt;/P&gt;

&lt;P&gt;Event 2) &lt;BR /&gt;
Sep 10 00:00:00 10.39.246.155 date=2017-09-09 time=17:03:41 devname.......and so on(single line)&lt;/P&gt;

&lt;P&gt;Event 3) &lt;BR /&gt;
Sep  9 00:00:01 10.39.246.155 date=2017-09-08 time=17:03:26 devname........and so on (10 lines approx)&lt;BR /&gt;
Sep  9 00:00:01 10.39.246.155 date=2017-09-08 time=17:03:26 devname.........and so on&lt;BR /&gt;
Sep  9 00:00:01 10.39.246.155 date=2017-09-08 time=17:03:26 devname..........and so on&lt;/P&gt;

&lt;P&gt;Event 4) &lt;BR /&gt;
Sep  9 00:00:02 10.39.246.155 date=2017-09-08 time=17:03:26 devname.........and so on(10 lines approx)&lt;BR /&gt;
Sep  9 00:00:01 10.39.246.155 date=2017-09-08 time=17:03:26 devname..........and so on&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 16:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349877#M64222</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-02T16:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349878#M64223</link>
      <description>&lt;P&gt;Sounds like your TIME_FORMAT specification does not cover single-digit day numbers (%e vs. %d).&lt;BR /&gt;
If you didn't explicitly configure TIME_FORMAT for this sourcetype, I would recommend you do so.&lt;BR /&gt;
It may also be your BREAK_ONLY_BEFORE pattern, hard to say without seeing your props.conf for this sourcetype.&lt;/P&gt;

&lt;P&gt;But do share your props.conf if it still doesn't make sense, please.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349878#M64223</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2020-09-29T16:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349879#M64224</link>
      <description>&lt;P&gt;Hi Ssievert,&lt;/P&gt;

&lt;P&gt;We have tried below TIME_FORMAT.&lt;BR /&gt;
TIME_PREFIX = ^ &lt;BR /&gt;
TIME_FORMAT = %b %d %H:%M:%S &lt;BR /&gt;
SHOULD_LINEMERGE = true &lt;BR /&gt;
BREAK_ONLY_BEFORE = ([\n\r]*)\w{3}\s+\d+\s+\d{2}:\d{2}:\d{2} &lt;BR /&gt;
NO_BINARY_CHECK = true &lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 20&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349879#M64224</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2020-09-29T16:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349880#M64225</link>
      <description>&lt;P&gt;Yes, so you are using %d for the day, which expects two digits, i.e. 01...09 for day of month &amp;lt;10.&lt;BR /&gt;
If you change it to %e things should look better (for newly indexed data only).&lt;BR /&gt;
See &lt;A href="http://strftime.net/"&gt;here&lt;/A&gt; for a reference.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 17:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349880#M64225</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-11-02T17:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349881#M64226</link>
      <description>&lt;P&gt;We have changed it to = TIME_FORMAT = %b %e %H:%M:%S.&lt;BR /&gt;
But still same error. Do we need to change anything except this in above stanza?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 17:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349881#M64226</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-02T17:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349882#M64227</link>
      <description>&lt;P&gt;OK, assuming you have these settings configured in the right place (indexer or heavy forwarder), this is what you should need to make it right:&lt;/P&gt;

&lt;P&gt;TIME_PREFIX = ^ &lt;BR /&gt;
TIME_FORMAT = %b %d %H:%M:%S.%3N&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
NO_BINARY_CHECK = true &lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;/P&gt;

&lt;P&gt;If you don't have multi-line events, always set SHOULD_LINEMERGE to false. For single line events, the default event breaking should work just fine.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349882#M64227</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2020-09-29T16:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349883#M64228</link>
      <description>&lt;P&gt;We have this stanza set on our indexer.&lt;BR /&gt;
All attributes are placed as above.&lt;BR /&gt;
Still getting merged events.&lt;BR /&gt;
Anyway will check everything again tomorrow and post it here if issue gets fix.&lt;BR /&gt;
Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 18:34:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349883#M64228</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-02T18:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349884#M64229</link>
      <description>&lt;P&gt;Hey, issue resolved.&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+)\w+\s*(\d{1}|\d{2})\s\d{2}:\d{2}:\d{2}\s&lt;BR /&gt;
finally above breaker helped us.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349884#M64229</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-03T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349885#M64230</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;
We add below attribute for single and double digit date parsing and it works fine.&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+)\w+\s*(\d{1}|\d{2})\s\d{2}:\d{2}:\d{2}\s&lt;/P&gt;

&lt;P&gt;Thanks for help..&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349885#M64230</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-03T10:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why are separate events combined as a single event from the 1st to the 9th of every month, but are parsed correctly as individual events starting on the 10th?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349886#M64231</link>
      <description>&lt;P&gt;This works fine for date parsing.&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+)\w+\s*(\d{1}|\d{2})\s\d{2}:\d{2}:\d{2}\s&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:48:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-separate-events-combined-as-a-single-event-from-the-1st/m-p/349886#M64231</guid>
      <dc:creator>rahulcrest</dc:creator>
      <dc:date>2017-11-03T10:48:02Z</dc:date>
    </item>
  </channel>
</rss>

