<?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 contain T between date and time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198732#M39392</link>
    <description>&lt;P&gt;If you have multiple sources for the timestamp and you want a specific field to be use, then you will need to be explicit in the source configuration about which field(s) to use (props.conf?).  It is not the format that matters, it is the "where".  You can't rely on defaults.  It all depends on how the analysis tree is implemented within Splunk, otherwise, and that you have no control over.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2014 11:02:34 GMT</pubDate>
    <dc:creator>grijhwani</dc:creator>
    <dc:date>2014-06-17T11:02:34Z</dc:date>
    <item>
      <title>timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198727#M39387</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;The timestamp is in the format &lt;DATE&gt;T&lt;TIME&gt; , e.g: 2014-06-05T05:03:53-07:00&lt;/TIME&gt;&lt;/DATE&gt;&lt;/P&gt;

&lt;P&gt;Is there any configuration supported in  SPlunk to automatically recognize and extract this timestamp to _time ?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:26:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198727#M39387</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2014-06-16T14:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198728#M39388</link>
      <description>&lt;P&gt;Add following in your sourcetype configuration in props.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourceType]
..Other stuffs..
...
TIME_FORMAT = %Y-%m-%dT%H:%M:%S%z
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198728#M39388</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-16T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198729#M39389</link>
      <description>&lt;P&gt;Let me be more specific about my question. &lt;/P&gt;

&lt;P&gt;Note that the "T" appears literally in the string, to indicate the beginning of the time element, as specified in ISO 8601. &lt;/P&gt;

&lt;P&gt;So, I'm of looking if there is way to mention about the timeformat used is ISO-8601.  Like we mention TZ for timezone. Like this, is there something similar to mention say TF=ISO-8601 to indicate the timeformat used in the log is ISO-8601 compliance.&lt;/P&gt;

&lt;P&gt;Hope this clarifies my question.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2014 20:18:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198729#M39389</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2014-06-16T20:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198730#M39390</link>
      <description>&lt;P&gt;I created some sample log file with timestamp format specified by you and bunch of other format in same log file, and splunk is able to recognize it(without specifying Time format). Do you face any issue with your logs?&lt;BR /&gt;
Sample test log created.&lt;/P&gt;

&lt;P&gt;2014-06-05T05:03:53-07:00 name=this&lt;BR /&gt;
2014-06-05 05:04:53-07:00 name=is&lt;BR /&gt;
06/05/2014 05:05:53 -07:00 name=datetime&lt;BR /&gt;
06/05/2014:05:06:53 -07:00 name=test&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2014 20:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198730#M39390</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-16T20:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198731#M39391</link>
      <description>&lt;P&gt;The _time is getting the correct value, but if I see it in data previews screen, it is selecting correct time from incorrect data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;E.g:Sample log edited from actual.&lt;BR /&gt;
2014-06-05T05:03:53-07:00 server8 monitor: "10.29.224.229" - [05/Jun/2014:05:03:53 -0700] "GET /login?userId=10099234081 HTTP/1.1" 200 87323"-" "Mozilla/5.0 (compatible; Yahoo! Slurp; &lt;A href="http://help.yahoo.com/help/us/ysearch/slurp)"&gt;http://help.yahoo.com/help/us/ysearch/slurp)&lt;/A&gt;" 0.543 "-/-" &lt;A href="http://www.mywebsite.com"&gt;www.mywebsite.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here, in the preview screen, the _time is extracted from  "05T05:03:53-07:00 server8 monitor: "10.29.224.229" - [05/Jun/2014" as highlighted in the preview Window.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 05:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198731#M39391</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2014-06-17T05:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp contain T between date and time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198732#M39392</link>
      <description>&lt;P&gt;If you have multiple sources for the timestamp and you want a specific field to be use, then you will need to be explicit in the source configuration about which field(s) to use (props.conf?).  It is not the format that matters, it is the "where".  You can't rely on defaults.  It all depends on how the analysis tree is implemented within Splunk, otherwise, and that you have no control over.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-contain-T-between-date-and-time/m-p/198732#M39392</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2014-06-17T11:02:34Z</dc:date>
    </item>
  </channel>
</rss>

