<?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: Getting two time stamps in a syslog entry - how to correct in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286839#M54801</link>
    <description>&lt;P&gt;Modify &lt;CODE&gt;inputs.conf&lt;/CODE&gt; inside the stanza where you define the input port, add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;no_appending_timestamp = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From inputs.conf.spec documentation file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;no_appending_timestamp = true
If this attribute is set to true, then Splunk does NOT append a timestamp and host to received events.
NOTE: Do NOT include this key if you want to append timestamp and host to received events.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will have to restart the splunk instances on your Forwarders.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Oct 2015 18:04:04 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-10-24T18:04:04Z</dc:date>
    <item>
      <title>Getting two time stamps in a syslog entry - how to correct</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286835#M54797</link>
      <description>&lt;P&gt;Hey all.&lt;/P&gt;

&lt;P&gt;Trying to figure out how to clear up my issue. I'm getting two separate time stamps on a syslog entry coming from a Linux box.&lt;/P&gt;

&lt;P&gt;As you can see below, it is sending over the FQDN and short name as well.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Oct 21 10:49:53 hyperion.btlab.test Oct 21 13:49:53 hyperion su: pam_unix(su-l:session): session opened for use
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Digging around, this looks to be a syslog (using rsyslog) setup.&lt;BR /&gt;
Here is my line in rsyslog.conf&lt;/P&gt;

&lt;P&gt;authpriv.*                                              @prometheus:514&lt;/P&gt;

&lt;P&gt;Pretty straight forward, but scratching my head as to why it is being sent over like that.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286835#M54797</guid>
      <dc:creator>thecoffeeguy14</dc:creator>
      <dc:date>2015-10-21T18:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting two time stamps in a syslog entry - how to correct</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286836#M54798</link>
      <description>&lt;P&gt;Check in the rsyslog.conf, what template is being used, line may look like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ActionFileDefaultTemplate ..name..of the temp...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286836#M54798</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-21T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting two time stamps in a syslog entry - how to correct</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286837#M54799</link>
      <description>&lt;P&gt;Heya.&lt;BR /&gt;
Just was looking at that. Here is what is currently set in rsyslog.conf:&lt;/P&gt;

&lt;P&gt;$ActionFileDefaultTemplate RSYSLOG_FileFormat&lt;/P&gt;

&lt;P&gt;Just started to dig into the rsyslog guides to find out some more, see if i can resolve this.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:29:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286837#M54799</guid>
      <dc:creator>thecoffeeguy14</dc:creator>
      <dc:date>2015-10-21T18:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting two time stamps in a syslog entry - how to correct</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286838#M54800</link>
      <description>&lt;P&gt;This might be useful (setting up custom format)&lt;BR /&gt;
&lt;A href="http://unix.stackexchange.com/questions/103218/add-year-to-entries-generated-by-rsyslogd"&gt;http://unix.stackexchange.com/questions/103218/add-year-to-entries-generated-by-rsyslogd&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 21:58:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286838#M54800</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-22T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting two time stamps in a syslog entry - how to correct</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286839#M54801</link>
      <description>&lt;P&gt;Modify &lt;CODE&gt;inputs.conf&lt;/CODE&gt; inside the stanza where you define the input port, add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;no_appending_timestamp = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From inputs.conf.spec documentation file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;no_appending_timestamp = true
If this attribute is set to true, then Splunk does NOT append a timestamp and host to received events.
NOTE: Do NOT include this key if you want to append timestamp and host to received events.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will have to restart the splunk instances on your Forwarders.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2015 18:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-two-time-stamps-in-a-syslog-entry-how-to-correct/m-p/286839#M54801</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-24T18:04:04Z</dc:date>
    </item>
  </channel>
</rss>

