<?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 Source using ISO Date in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108281#M28163</link>
    <description>&lt;P&gt;v4.3.1 on sles 11.1&lt;/P&gt;

&lt;P&gt;i have some syslog-ng data, written to file as template("$DATE $TZ $WEEKDAY $ISODATE $HOST $FACILITY [$LEVEL] $MSG\n")&lt;/P&gt;

&lt;P&gt;when i try to create a new source and use ISO Date YYYY-MM-DDTHH:MM:SS.MMM-HH:MM for timestamp format it doesnt find the pattern, keeps locking onto the $DATE format. &lt;/P&gt;

&lt;P&gt;why?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Apr 2012 20:29:20 GMT</pubDate>
    <dc:creator>cvajs</dc:creator>
    <dc:date>2012-04-03T20:29:20Z</dc:date>
    <item>
      <title>Source using ISO Date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108281#M28163</link>
      <description>&lt;P&gt;v4.3.1 on sles 11.1&lt;/P&gt;

&lt;P&gt;i have some syslog-ng data, written to file as template("$DATE $TZ $WEEKDAY $ISODATE $HOST $FACILITY [$LEVEL] $MSG\n")&lt;/P&gt;

&lt;P&gt;when i try to create a new source and use ISO Date YYYY-MM-DDTHH:MM:SS.MMM-HH:MM for timestamp format it doesnt find the pattern, keeps locking onto the $DATE format. &lt;/P&gt;

&lt;P&gt;why?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2012 20:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108281#M28163</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-04-03T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Source using ISO Date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108282#M28164</link>
      <description>&lt;P&gt;You'll want to look at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;props.conf&lt;/A&gt;, specifically TIME_PREFIX, MAX_TIMESTAMP_LOOKAHEAD and maybe TIME_FORMAT.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2012 02:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108282#M28164</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-04T02:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Source using ISO Date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108283#M28165</link>
      <description>&lt;P&gt;i was using the GUI to create a new source definition, etc. when i went to timestamp tab i could not get the GUI to recognize the iso date in the data.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2012 13:03:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108283#M28165</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-04-04T13:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Source using ISO Date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108284#M28166</link>
      <description>&lt;P&gt;In the Manager when defining a new sourcetype (in particular, the timestamp tab), TIME_PREFIX corresponds to "Timestamp is always prefaced by a pattern".  Since you're writing a "normal" syslog timestamp first, Splunk is finding that.  You'll need to specify a regex pattern that matches the "normal" time stamp, so that Splunk will look &lt;EM&gt;past&lt;/EM&gt; this prefix to find the ISO time stamp instead.&lt;/P&gt;

&lt;P&gt;TIME_FORMAT is the "Specify timestamp format (strptime)" text entry box.  I've successfully used %Y-%m-%dT%H:%M:%S%z.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Source-using-ISO-Date/m-p/108284#M28166</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-05T12:36:36Z</dc:date>
    </item>
  </channel>
</rss>

