<?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 does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389940#M69793</link>
    <description>&lt;P&gt;Hey Rich - that is correct, I didn't want to conflate the issue as "technically" the props.conf as answered in that question addresses that one issue...it just also introduces a new one. I will try to clarify: &lt;/P&gt;

&lt;P&gt;I am attaching a screenshot of what I mean by going backwards in the answers section below (as I can't attach screenshots in replies). &lt;/P&gt;

&lt;P&gt;The blue line represents 11:59:59 then the red line takes us back to a previous date and inserts events from 12:00:00 and on to a previous day. The newest events are not being shown first; the newest event is at the end of the second red arrow. &lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 13:17:13 GMT</pubDate>
    <dc:creator>johnny21</dc:creator>
    <dc:date>2019-05-23T13:17:13Z</dc:date>
    <item>
      <title>Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389938#M69791</link>
      <description>&lt;P&gt;Splunk noobie here: When I configure my props.conf file like the first snippet I get multiple events showing as a single event. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@localhost ~]$ cat /opt/splunk/etc/apps/search/local/props.conf
 [sophos:syslog]
 TIME_PREFIX = &amp;lt;..&amp;gt;
 TIME_FORMAT = %Y:%m:%D-%H:%M:%S
 MAX_TIMESTAMP_LOOKAHEAD = 19
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7107i1ED19D78DF64090B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So in an attempt to resolve I modify props.conf to look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sophos:syslog]
TIME_PREFIX = &amp;lt;..&amp;gt;
TIME_FORMAT = %Y:%m:%D-%H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get the event issue resolved BUT then my dates appear to go backward at the beginning of the new day...&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7108i29D0EA5DC4C5DE1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Any ideas/thoughts on how to resolve?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 12:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389938#M69791</guid>
      <dc:creator>johnny21</dc:creator>
      <dc:date>2019-05-23T12:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389939#M69792</link>
      <description>&lt;P&gt;You asked a similar question (&lt;A href="https://answers.splunk.com/answers/743872/splunk-date-going-backwards.html"&gt;https://answers.splunk.com/answers/743872/splunk-date-going-backwards.html&lt;/A&gt;) and accepted an answer for it.  How is this different?&lt;BR /&gt;
I see 4 events in your screen shot.  All of them have the same timestamp.  How is that "backwards"?&lt;BR /&gt;
Remember, by default, Splunk displays the newest events first.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 12:36:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389939#M69792</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-23T12:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389940#M69793</link>
      <description>&lt;P&gt;Hey Rich - that is correct, I didn't want to conflate the issue as "technically" the props.conf as answered in that question addresses that one issue...it just also introduces a new one. I will try to clarify: &lt;/P&gt;

&lt;P&gt;I am attaching a screenshot of what I mean by going backwards in the answers section below (as I can't attach screenshots in replies). &lt;/P&gt;

&lt;P&gt;The blue line represents 11:59:59 then the red line takes us back to a previous date and inserts events from 12:00:00 and on to a previous day. The newest events are not being shown first; the newest event is at the end of the second red arrow. &lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389940#M69793</guid>
      <dc:creator>johnny21</dc:creator>
      <dc:date>2019-05-23T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389941#M69794</link>
      <description>&lt;P&gt;Additional information for context on what I mean by "going backwards". &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7105i52716E07B2DE114B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389941#M69794</guid>
      <dc:creator>johnny21</dc:creator>
      <dc:date>2019-05-23T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389942#M69795</link>
      <description>&lt;P&gt;You might have a typo in your TIME_FORMAT variables, specifically "D" instead of "d", you should not need line merge for these events.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sophos:syslog]
TIME_PREFIX = &amp;lt;\d\d&amp;gt;
TIME_FORMAT = %Y:%m:%d-%H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, the "backwards" log events might be related to timezones.  What timezone are your logs in and what timezone is your Splunk UI configured to display?&lt;/P&gt;

&lt;P&gt;You might want to add a &lt;CODE&gt;TZ = &amp;lt;timezone identifier&amp;gt;&lt;/CODE&gt; to props.conf also: &lt;A href="https://answers.splunk.com/answers/127193/where-are-splunk-valid-tz-options-in-propsconf.html"&gt;https://answers.splunk.com/answers/127193/where-are-splunk-valid-tz-options-in-propsconf.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 18:11:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389942#M69795</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2019-05-23T18:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389943#M69796</link>
      <description>&lt;P&gt;Thanks for the advice Mary! &lt;/P&gt;

&lt;P&gt;So far things are looking good, I'll confirm everything works tomorrow morning once we hit a new day. &lt;/P&gt;

&lt;P&gt;Current props.conf &lt;BR /&gt;
    [sophos:syslog]&lt;BR /&gt;
    TIME_PREFIX = &amp;lt;\d\d&amp;gt;&lt;BR /&gt;
    TIME_FORMAT = %Y:%m:%d-%H:%M:%S&lt;BR /&gt;
    MAX_TIMESTAMP_LOOKAHEAD = 19&lt;BR /&gt;
    TZ = US/Eastern&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389943#M69796</guid>
      <dc:creator>johnny21</dc:creator>
      <dc:date>2020-09-30T00:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why does SHOULD_LINEMERGE setting appear to make the date go backwards and how can I resolve?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389944#M69797</link>
      <description>&lt;P&gt;Seems to have resolved my issue, many thanks! &lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 11:22:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-SHOULD-LINEMERGE-setting-appear-to-make-the-date-go/m-p/389944#M69797</guid>
      <dc:creator>johnny21</dc:creator>
      <dc:date>2019-05-24T11:22:21Z</dc:date>
    </item>
  </channel>
</rss>

