<?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: BREAK_ONLY_BEFORE failing for date extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140357#M184829</link>
    <description>&lt;P&gt;Yes, your are right, its not taking Cookie TimeStamp. We are analyzed the event and plannign to add date time before ##Cookie....&lt;/P&gt;

&lt;P&gt;Thank you so much for the solution provided.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2014 19:41:27 GMT</pubDate>
    <dc:creator>muguniya</dc:creator>
    <dc:date>2014-04-24T19:41:27Z</dc:date>
    <item>
      <title>BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140346#M184818</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;We have configured props.conf file in indexer to break events before date in specific format (yyyy-mm-dd hh:mm:ss,ms), but its not working.&lt;/P&gt;

&lt;P&gt;props.conf settings:&lt;BR /&gt;
[sourcetype]&lt;BR /&gt;
BREAK_ONLY_BEFORE = \d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d,\d\d\d&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;H2&gt;Sample Events in Log4j File:&lt;/H2&gt;

&lt;H2&gt;Cookie Value##Wed Apr 23 21:02:31 EDT 2014&lt;/H2&gt;

&lt;P&gt;2014-04-23 10:11:44,000 DEBUG 143.171.102.228 &lt;A href="Remittance.java:91" target="_blank"&gt;WebContainer : 15&lt;/A&gt;- Getting value of source system for first time user.&lt;/P&gt;

&lt;H2&gt;Cookie Value##Wed Apr 23 21:01:00 EDT 2014&lt;/H2&gt;

&lt;P&gt;Since ##Cookie Value## contains feature date time stamp we dont want to break events based on Cookie Value. Please let us know how to break events only the event starts with yyyy-mm-dd hh:mm:ss,ms.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140346#M184818</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2020-09-28T16:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140347#M184819</link>
      <description>&lt;P&gt;Try this&lt;BR /&gt;
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140347#M184819</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140348#M184820</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;No luck, still event is getting break when we receive event ##Cookie Value##Wed Apr 23 20:41:00 EDT.&lt;/P&gt;

&lt;P&gt;props.conf settings with above suggestion:&lt;BR /&gt;
[sourcetype]&lt;BR /&gt;
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
maxDist = 75&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;Is there any way we can look for date in specific format and break the event when matched?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:26:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140348#M184820</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2020-09-28T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140349#M184821</link>
      <description>&lt;P&gt;Try this in you props.conf (under your sourcetype)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetype]
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = true
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3Q
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;----------------------Update------&lt;/P&gt;

&lt;P&gt;This seems to work with my sample data (including events with just below, takes time from event itself)&lt;BR /&gt;
Cookie Value##Wed Apr 23 23:01:00 EDT 2014.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetype]
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d
MAX_TIMESTAMP_LOOKAHEAD = 150
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = true
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3Q
pulldown_type = 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Apr 2014 17:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140349#M184821</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-04-23T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140350#M184822</link>
      <description>&lt;P&gt;We have used BREAK_ONLY_BEFORE as shown below.&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140350#M184822</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2020-09-28T16:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140351#M184823</link>
      <description>&lt;P&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d,\d\d\d&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;back slash is being discarded so updated the string again&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 17:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140351#M184823</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2014-04-23T17:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140352#M184824</link>
      <description>&lt;P&gt;Do you event like this in splunk?&lt;/P&gt;

&lt;P&gt;2014-04-23 10:11:44,000 DEBUG 143.171.102.228 WebContainer : 15- Getting value of source system for first time user.&lt;BR /&gt;
Cookie Value##Wed Apr 23 21:01:00 EDT 2014&lt;/P&gt;

&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140352#M184824</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-04-23T18:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140353#M184825</link>
      <description>&lt;P&gt;We have tried above said settings, its not working when we received an event like ##Cookie Value##Wed Apr 23 21:01:00 EDT 2014. Splunk treats this as a sperate event.&lt;/P&gt;

&lt;P&gt;Please let us know for more information.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140353#M184825</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2014-04-23T18:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140354#M184826</link>
      <description>&lt;P&gt;Please try this. The problem you are having is there are two timestamps where splunk is able to get the time for the event and trying to break into events&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE_DATE=true
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
TIME_FORMAT=%Y-%m-%d %H:%M:%S,3%q
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140354#M184826</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-04-23T18:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140355#M184827</link>
      <description>&lt;P&gt;Above suggestion works when we received events as follows&lt;/P&gt;

&lt;P&gt;2014-04-23 10:11:44,000 DEBUG 143.171.102.228 WebContainer : 15- Getting value of source system for first time user.&lt;BR /&gt;
Cookie Value##Wed Apr 23 21:01:00 EDT 2014&lt;/P&gt;

&lt;P&gt;it fails when we receive only below event, we dont want this event populated with future time stamp in splunk&lt;BR /&gt;
Cookie Value##Wed Apr 23 23:01:00 EDT 2014.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 20:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140355#M184827</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2014-04-23T20:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140356#M184828</link>
      <description>&lt;P&gt;is it taking the cookie timestamp? It shouldn't because it's told not to read that time format!!!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 18:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140356#M184828</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-04-24T18:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140357#M184829</link>
      <description>&lt;P&gt;Yes, your are right, its not taking Cookie TimeStamp. We are analyzed the event and plannign to add date time before ##Cookie....&lt;/P&gt;

&lt;P&gt;Thank you so much for the solution provided.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 19:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140357#M184829</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2014-04-24T19:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: BREAK_ONLY_BEFORE failing for date extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140358#M184830</link>
      <description>&lt;P&gt;Yes, your are right, its not taking Cookie TimeStamp. We have analyzed the event and planning to add date time before ##Cookie....Thank you so much for the solution provided.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 19:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/BREAK-ONLY-BEFORE-failing-for-date-extraction/m-p/140358#M184830</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2014-04-24T19:42:14Z</dc:date>
    </item>
  </channel>
</rss>

