<?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: timestamp for csv in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511453#M143388</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224259"&gt;@friskyapple&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should use capital Y for 4 digit years. Your lower case y is a two digit year.&lt;/P&gt;&lt;P&gt;However, that timestamp is ISO8601 so I would expect it to extract it automatically&lt;/P&gt;&lt;P&gt;You also need to add the&amp;nbsp;MAX_DAYS_AGO setting to allow it to pick up dates in 2010 as by default it will only go back 2000 days. See that setting here&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 07:36:45 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2020-07-29T07:36:45Z</dc:date>
    <item>
      <title>timestamp for csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511452#M143387</link>
      <description>&lt;P&gt;I'm just starting out with splunk and have a few CSVs that i'm trying to import. the main one contains library records from the past decade. It originally contained both in and out time, but i've broken it down to be as simple as possible to start with and given it just the initial check out time. The times are all written in the same manner. There's about 134000 entries total.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;game_id,attendee_id,event_id,check_out_time
328,7199,5,2010-09-05 01:32:57
228,7241,5,2010-09-05 01:33:13
379,7327,5,2010-09-05 01:33:51
96,6729,5,2010-09-05 01:34:37&lt;/LI-CODE&gt;&lt;P&gt;when i go to import this data , the timestamp is always wrong:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="splunk.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9924iF68EF10126B8B5E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="splunk.PNG" alt="splunk.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I've read through numerous forum posts on splunk and other websites and had multiple people double check the csv; I cannot identify why it struggles to pull the correct timestamp for these events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 07:01:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511452#M143387</guid>
      <dc:creator>friskyapple</dc:creator>
      <dc:date>2020-07-29T07:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp for csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511453#M143388</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224259"&gt;@friskyapple&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should use capital Y for 4 digit years. Your lower case y is a two digit year.&lt;/P&gt;&lt;P&gt;However, that timestamp is ISO8601 so I would expect it to extract it automatically&lt;/P&gt;&lt;P&gt;You also need to add the&amp;nbsp;MAX_DAYS_AGO setting to allow it to pick up dates in 2010 as by default it will only go back 2000 days. See that setting here&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 07:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511453#M143388</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-29T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp for csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511455#M143390</link>
      <description>&lt;P&gt;2010-09-05 01:32:57&lt;/P&gt;&lt;P&gt;%Y-%m-%d %T&lt;/P&gt;&lt;P&gt;not %y&lt;/P&gt;&lt;P&gt;but you don't need time settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunk can extract time automatically.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 07:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511455#M143390</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-07-29T07:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp for csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511509#M143400</link>
      <description>&lt;P&gt;holy cow it worked, thank you!! I cannot express my thanks enough.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 12:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timestamp-for-csv/m-p/511509#M143400</guid>
      <dc:creator>friskyapple</dc:creator>
      <dc:date>2020-07-29T12:43:37Z</dc:date>
    </item>
  </channel>
</rss>

