<?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: postfix_syslog time extraction inaccuracies in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60269#M14851</link>
    <description>&lt;P&gt;Check to make sure that there isn't another rule overriding &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; or other timestamping options. If you have conflicting entries in props.conf, configuration settings applied to &lt;CODE&gt;[host::myhost]&lt;/CODE&gt; or &lt;CODE&gt;'[source::mysource]&lt;/CODE&gt; will take precedence over those applied to the sourcetype.&lt;/P&gt;

&lt;P&gt;If that isn't the problem, then more information is always helpful, such as:&lt;/P&gt;

&lt;P&gt;&lt;LI&gt;How are you bringing the syslog data in? (Looks like syslog-ng?)&lt;/LI&gt;&lt;/P&gt;

&lt;P&gt;&lt;LI&gt;How is the input configured in inputs.conf?&lt;/LI&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2010 06:06:59 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2010-09-30T06:06:59Z</dc:date>
    <item>
      <title>postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60267#M14849</link>
      <description>&lt;P&gt;We seem to be having an issue with the postfix_syslog sourcetype (that came as a default sourcetype in Splunk) and its date extractions. &lt;/P&gt;

&lt;P&gt;I posted this at 8:20am on 9/29, and did a search of events that take place between 15:00 and 23:59 on 9/29 and come back with the following results.&lt;/P&gt;

&lt;P&gt;As you can see, the date_hour is set up as 18 on one of these events, which translates to 6pm, but the original event actually took place at 5am.&lt;/P&gt;

&lt;P&gt;I am not overriding any of the default postfix_syslog stuff, and these events are getting sourcetyped properly, as shown below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[postfix_syslog]
TIME_FORMAT = %b %d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;According to the docs, %H is the 24 hour time, even though Splunk seems to believe it is not.&lt;/P&gt;

&lt;P&gt;Any help is appreciated.
Thanks,&lt;/P&gt;

&lt;P&gt;--adam
(EDIT)
This is Splunk 4.1.4, data is coming in with syslog-ng.
&lt;IMG src="http://img844.imageshack.us/img844/8767/postfixsyslogincorrectt.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 19:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60267#M14849</guid>
      <dc:creator>adamw</dc:creator>
      <dc:date>2010-09-29T19:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60268#M14850</link>
      <description>&lt;P&gt;That's very weird.  Some additional details may help.  Please "edit" your post and provide:  The version of splunk you are running.  Have you ever made any changes to datetime.xml?  Does the syslog host contain any digits it or is it an IP address?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60268#M14850</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-09-30T05:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60269#M14851</link>
      <description>&lt;P&gt;Check to make sure that there isn't another rule overriding &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; or other timestamping options. If you have conflicting entries in props.conf, configuration settings applied to &lt;CODE&gt;[host::myhost]&lt;/CODE&gt; or &lt;CODE&gt;'[source::mysource]&lt;/CODE&gt; will take precedence over those applied to the sourcetype.&lt;/P&gt;

&lt;P&gt;If that isn't the problem, then more information is always helpful, such as:&lt;/P&gt;

&lt;P&gt;&lt;LI&gt;How are you bringing the syslog data in? (Looks like syslog-ng?)&lt;/LI&gt;&lt;/P&gt;

&lt;P&gt;&lt;LI&gt;How is the input configured in inputs.conf?&lt;/LI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 06:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60269#M14851</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-09-30T06:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60270#M14852</link>
      <description>&lt;P&gt;Seems likely that you have some conflicting configuration. Splunk does not appear to be looking at your event timestamps at all, but using CURRENT or the file modification time. This may be because of changes or redefinitions of DATETIME_CONFIG or the file it points to. Probably using &lt;CODE&gt;btool&lt;/CODE&gt; &lt;A href="http://www.splunk.com/base/Documentation/4.1.5/Admin/Troubleshootingconfigurations" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.5/Admin/Troubleshootingconfigurations&lt;/A&gt; may help show if this is so, of if there are other configurations conflicting (e.g., both &lt;CODE&gt;source::&lt;/CODE&gt; and &lt;CODE&gt;host::&lt;/CODE&gt; configurations will override sourcetype props.conf configurations.)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 11:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60270#M14852</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-09-30T11:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60271#M14853</link>
      <description>&lt;P&gt;One more possibly helpful resource:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://answers.splunk.com/questions/4075/whats-the-best-way-to-track-down-props-conf-problems/4080" rel="nofollow"&gt;What’s the best way to track down props.conf problems?&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 30 Sep 2010 20:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60271#M14853</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-09-30T20:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: postfix_syslog time extraction inaccuracies</title>
      <link>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60272#M14854</link>
      <description>&lt;P&gt;I agree, a rogue &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt; entry does seem to be the most logical explication for what's going on here.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 21:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/postfix-syslog-time-extraction-inaccuracies/m-p/60272#M14854</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-09-30T21:09:16Z</dc:date>
    </item>
  </channel>
</rss>

