<?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 Why does event timestamp appear AFTER another date? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607411#M105472</link>
    <description>&lt;P&gt;This is my example log file:&lt;/P&gt;
&lt;P&gt;-- Daily Prod Started 7/28/2022 12:36:05 PM 0.762 sec&lt;/P&gt;
&lt;P&gt;-- BegMo='06/01/2022' 7/28/2022 12:36:05 PM 0.049 sec&lt;/P&gt;
&lt;P&gt;-- BegDate='06/01/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- EndDate='07/28/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- EndMidNight='07/29/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- Data Collection Start=7/28/2022 12:36:05 PM 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;How do I pick up the timestamp on lines 2-5 - where there is a date with quotes, and lines 1 and 6, where there is not?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 15:24:40 GMT</pubDate>
    <dc:creator>jmgilpin</dc:creator>
    <dc:date>2022-07-29T15:24:40Z</dc:date>
    <item>
      <title>Why does event timestamp appear AFTER another date?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607411#M105472</link>
      <description>&lt;P&gt;This is my example log file:&lt;/P&gt;
&lt;P&gt;-- Daily Prod Started 7/28/2022 12:36:05 PM 0.762 sec&lt;/P&gt;
&lt;P&gt;-- BegMo='06/01/2022' 7/28/2022 12:36:05 PM 0.049 sec&lt;/P&gt;
&lt;P&gt;-- BegDate='06/01/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- EndDate='07/28/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- EndMidNight='07/29/2022' 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;-- Data Collection Start=7/28/2022 12:36:05 PM 7/28/2022 12:36:05 PM 0 sec&lt;/P&gt;
&lt;P&gt;How do I pick up the timestamp on lines 2-5 - where there is a date with quotes, and lines 1 and 6, where there is not?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 15:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607411#M105472</guid>
      <dc:creator>jmgilpin</dc:creator>
      <dc:date>2022-07-29T15:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607423#M105473</link>
      <description>&lt;P&gt;Set long enough MAX_TIMESTAMP_LOOKAHEAD and define proper TIME_PREFIX which will account for all event versions.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607423#M105473</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-28T20:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607464#M105476</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116138"&gt;@jmgilpin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There's only one thing that I don't understand: are you speaking of the event timestamp, or about the extraction of other fields tin date-time format?&lt;/P&gt;&lt;P&gt;In the first case,&amp;nbsp;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;said, you should use TIME_PREFIX and TIME_FORMAT to identify the correct timestamp.&lt;/P&gt;&lt;P&gt;In the second case, you should use the first as timestamp and extract the others as fields using regexes.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 06:19:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607464#M105476</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-29T06:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607523#M105482</link>
      <description>&lt;P&gt;My intent was to parse the timestamp of the event - but I do not see a common set of chars to use as the prefix.&amp;nbsp; The timestamp in quotes is the value of a variable.&lt;/P&gt;&lt;P&gt;Fortunately, I was able to use current timestamp, so I am able to ingest the log files as they are created.&lt;/P&gt;&lt;P&gt;As this is a vendor log - and they are not to keen on changing the log format, current timestamp is workable.&lt;/P&gt;&lt;P&gt;thanks all!&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607523#M105482</guid>
      <dc:creator>jmgilpin</dc:creator>
      <dc:date>2022-07-29T12:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607524#M105483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116138"&gt;@jmgilpin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if the one you shared is a sample of your logs, you could use as TIME_PREFIX the first datetime yu have:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = ^--\s+Daily Prod\s+Started\s+
TIME_FORMAT = %m/%d/%Y %I:%M:%S %p&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607524#M105483</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-29T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607527#M105484</link>
      <description>&lt;P&gt;Interesting, I was treating each line as a separate entry, but treating the group of items as a single entry... that would work... will gave that a try and get back to you.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 13:12:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607527#M105484</guid>
      <dc:creator>jmgilpin</dc:creator>
      <dc:date>2022-07-29T13:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Event timestamp appears AFTER another date</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607530#M105485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116138"&gt;@jmgilpin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you,&lt;/P&gt;&lt;P&gt;tell me if I can help you more, otherwise, please, accept one answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 13:23:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-event-timestamp-appear-AFTER-another-date/m-p/607530#M105485</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-29T13:23:13Z</dc:date>
    </item>
  </channel>
</rss>

