<?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: Custom timestamps for csv format? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370514#M67231</link>
    <description>&lt;P&gt;huzzah!!!!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2017 00:05:52 GMT</pubDate>
    <dc:creator>Genti</dc:creator>
    <dc:date>2017-11-15T00:05:52Z</dc:date>
    <item>
      <title>Custom timestamps for csv format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370511#M67228</link>
      <description>&lt;P&gt;I have the following data from csv file that I want to index into splunk. &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/3860iEDC02DB7DCF1C790/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;I want to set the timestamp to be the highlighted portions but if I select auto for timestamp it will grab the first timestamp that it detects. So I modify the props.conf file to add the following line:&lt;BR /&gt;
TIME_PREFIX=^([^,]*,){4}&lt;BR /&gt;
which tell it to take the timestamp after the 4th comma. But for some reasons it grabs the 10-27-2017 along with 00:04:44 but skip the 6:20 PM (which is the actual time that i need). Is there anything I could do to avoid this? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 23:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370511#M67228</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-11-14T23:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom timestamps for csv format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370512#M67229</link>
      <description>&lt;P&gt;So, it looks like its grabbing the correct field.&lt;BR /&gt;
Have you provided a TIME_FORMAT?&lt;/P&gt;

&lt;P&gt;Splunk can't recognize on its own that 00:04:44 is NOT the correct time. it is the most common sense thing to be the time.&lt;BR /&gt;
So you need to provide the &lt;EM&gt;CORRECT FORMAT&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT="%m-%d-%Y","%I:%M %p"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Nov 2017 23:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370512#M67229</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2017-11-14T23:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom timestamps for csv format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370513#M67230</link>
      <description>&lt;P&gt;work like a champ. thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370513#M67230</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-11-15T00:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom timestamps for csv format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370514#M67231</link>
      <description>&lt;P&gt;huzzah!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:05:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Custom-timestamps-for-csv-format/m-p/370514#M67231</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2017-11-15T00:05:52Z</dc:date>
    </item>
  </channel>
</rss>

