<?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 How to get Splunk to recognize the date for data in a CSV file, not the creation time of the data entry? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180352#M36165</link>
    <description>&lt;P&gt;Hi, I am new to splunk and hence, just to experiment with the tool I added some bank statement data into splunk in the form of csv file. The date field in the file is in the format " mm/dd/yy". Splunk did not recognize the date field as date, instead it created a  "_time" field and has added the timestamp value of the data entry . The visual data distribution shows all data in the same timestamp. I need help to make splunk use the date field instead of the creation time.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2015 18:26:26 GMT</pubDate>
    <dc:creator>sushmitha_mj</dc:creator>
    <dc:date>2015-01-09T18:26:26Z</dc:date>
    <item>
      <title>How to get Splunk to recognize the date for data in a CSV file, not the creation time of the data entry?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180352#M36165</link>
      <description>&lt;P&gt;Hi, I am new to splunk and hence, just to experiment with the tool I added some bank statement data into splunk in the form of csv file. The date field in the file is in the format " mm/dd/yy". Splunk did not recognize the date field as date, instead it created a  "_time" field and has added the timestamp value of the data entry . The visual data distribution shows all data in the same timestamp. I need help to make splunk use the date field instead of the creation time.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 18:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180352#M36165</guid>
      <dc:creator>sushmitha_mj</dc:creator>
      <dc:date>2015-01-09T18:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk to recognize the date for data in a CSV file, not the creation time of the data entry?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180353#M36166</link>
      <description>&lt;P&gt;You just need to configure the time when you input the data:&lt;/P&gt;

&lt;H4&gt;Say I have a sample CSV like this:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;time    x   y   z
11/11/11    1   2   6
12/12/12    12  3   6
12/13/13    2   4   6
12/14/14    35  4   8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;First, add the data (the file)&lt;/H4&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/183i9573EB18BA932995/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;H4&gt;Secondly, configure the timestamp field (optional in this case) and &lt;EM&gt;timestamp format&lt;/EM&gt;&lt;/H4&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/184i0607626A902895CD/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;H4&gt;Which for this example, looks like &lt;CODE&gt;%m/%d/%y&lt;/CODE&gt; - this is called &lt;A href="http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html"&gt;strptime&lt;/A&gt; format&lt;/H4&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/IZocSue.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 19:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180353#M36166</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-09T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk to recognize the date for data in a CSV file, not the creation time of the data entry?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180354#M36167</link>
      <description>&lt;P&gt;You may benefit from reading on &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/HowSplunkextractstimestamps"&gt;how timestamp assignment works in Splunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 19:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180354#M36167</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-09T19:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk to recognize the date for data in a CSV file, not the creation time of the data entry?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180355#M36168</link>
      <description>&lt;P&gt;That was a really simple fix !! Thank you so much . &lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 21:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-Splunk-to-recognize-the-date-for-data-in-a-CSV-file/m-p/180355#M36168</guid>
      <dc:creator>sushmitha_mj</dc:creator>
      <dc:date>2015-01-09T21:14:36Z</dc:date>
    </item>
  </channel>
</rss>

