<?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 events indexing with the wrong time stamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501012#M85349</link>
    <description>&lt;P&gt;Thank you for your help, changing the TIME_PREFIX = ^\" solved the problem.&lt;/P&gt;

&lt;P&gt;Best regards!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 17:17:43 GMT</pubDate>
    <dc:creator>acceo_purch</dc:creator>
    <dc:date>2019-10-14T17:17:43Z</dc:date>
    <item>
      <title>Why are events indexing with the wrong time stamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501009#M85346</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;A csv file has the format dd-mm-year hh:mm. Splunk swap the day and month for the events for the first 9 days of a month. &lt;BR /&gt;
For example an event with a date 09-10-2019 05:05 (9 October 2019) is indexed as 10/9/19 (10 September 2019). &lt;BR /&gt;
But an event with a date 11-10-2019 05:05 (11 October 2019) is right indexed as 10/11/19 (11 October 2019)&lt;/P&gt;

&lt;P&gt;Here is an example of a csv file for the 10 September 2019:&lt;BR /&gt;
&lt;STRONG&gt;"10-09-2019 05:05","PG","PER","2","2"&lt;BR /&gt;
"10-09-2019 05:05","DG","USA","1","3"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;It's indexed in the month of October the 9th 2019 instead of September 10th 2019: &lt;BR /&gt;
&lt;STRONG&gt;TIME  (M/D/Y)      |  EVENT  (D/M/Y)&lt;BR /&gt;
10/9/19                 | 10-09-2019 05:05,PG,PER,2,2 &lt;BR /&gt;
5:30:00:000 AM&lt;BR /&gt;
10/9/19                 | 10-09-2019 05:05,DG,USA,1,3 &lt;BR /&gt;
5:30:00:000 AM&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;props.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[csv_inv]
SEDCMD-removeDoubleQuotes= s/\"//g
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
NO_BINARY_CHECK = true
category = Structured
pulldown_type = 1
TIME_PREFIX = ^
TIME_FORMAT = %d-%m-%Y %H:%M
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone help me with this? &lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 18:50:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501009#M85346</guid>
      <dc:creator>acceo_purch</dc:creator>
      <dc:date>2019-10-11T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events indexing with the wrong time stamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501010#M85347</link>
      <description>&lt;P&gt;If the CSV file really has quotation marks around each field then the time prefix is incorrect.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;TIME_PREFIX = ^"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 20:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501010#M85347</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-11T20:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events indexing with the wrong time stamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501011#M85348</link>
      <description>&lt;P&gt;Hi acceo_purch,&lt;BR /&gt;
as suggested by &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;, at first, use the correct &lt;CODE&gt;TIME_PREFIX = ^\"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Then, where is this props.conf?&lt;BR /&gt;
Usually it must be on Indexers, but when you ingest csv files it must be also on Universal Forwarders&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:31:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501011#M85348</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T02:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events indexing with the wrong time stamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501012#M85349</link>
      <description>&lt;P&gt;Thank you for your help, changing the TIME_PREFIX = ^\" solved the problem.&lt;/P&gt;

&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 17:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501012#M85349</guid>
      <dc:creator>acceo_purch</dc:creator>
      <dc:date>2019-10-14T17:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events indexing with the wrong time stamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501013#M85350</link>
      <description>&lt;P&gt;Thanks Giuseppe, adding the right TIME_PREFIX = ^\"  solved the problem.&lt;/P&gt;

&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 17:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-indexing-with-the-wrong-time-stamp/m-p/501013#M85350</guid>
      <dc:creator>acceo_purch</dc:creator>
      <dc:date>2019-10-14T17:19:18Z</dc:date>
    </item>
  </channel>
</rss>

