<?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: How Do I get Splunk to Recognize a Log TimeStamp and Convert it? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-Do-I-get-Splunk-to-Recognize-a-Log-TimeStamp-and-Convert-it/m-p/278806#M53364</link>
    <description>&lt;P&gt;Use this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%Y%m%d/%H%M%S.%3N
TIME_PREFEX=set as per your log
MAX_TIMESTAMP_LOOKAHEAD=17
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jun 2016 16:06:26 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-06-02T16:06:26Z</dc:date>
    <item>
      <title>How Do I get Splunk to Recognize a Log TimeStamp and Convert it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-Do-I-get-Splunk-to-Recognize-a-Log-TimeStamp-and-Convert-it/m-p/278805#M53363</link>
      <description>&lt;P&gt;I have log data that has a timestamp in this format &lt;CODE&gt;20160530/001020.670&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I uploaded the log directly into Splunk to test with and Splunk is ignoring the timestamp and assigning it's own timestamp which does not match the log data. &lt;/P&gt;

&lt;P&gt;I cleared the data from that index and re-uploaded the data and currently on the 'Set Sourcetype' step. There's a section labeled 'Timestamp' which has 'Timestamp format' , 'Timestamp prefix' , and 'Lookahead'.. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My question&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;How can I get Splunk to recognize the timestamp &lt;CODE&gt;20160530/001020.670&lt;/CODE&gt; and convert it to &lt;CODE&gt;5/30/16 12:10:20.670 AM&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 15:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-Do-I-get-Splunk-to-Recognize-a-Log-TimeStamp-and-Convert-it/m-p/278805#M53363</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-06-02T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I get Splunk to Recognize a Log TimeStamp and Convert it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-Do-I-get-Splunk-to-Recognize-a-Log-TimeStamp-and-Convert-it/m-p/278806#M53364</link>
      <description>&lt;P&gt;Use this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%Y%m%d/%H%M%S.%3N
TIME_PREFEX=set as per your log
MAX_TIMESTAMP_LOOKAHEAD=17
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2016 16:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-Do-I-get-Splunk-to-Recognize-a-Log-TimeStamp-and-Convert-it/m-p/278806#M53364</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-02T16:06:26Z</dc:date>
    </item>
  </channel>
</rss>

