<?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: no_appending_timestamp behaviour for splunktcp source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61858#M12358</link>
    <description>&lt;P&gt;Splunk forwarding and receiving wont add anything to the text, so that's not where this is occurring.  I'm not sure how the data is coming into the forwarder, but it sounds like you have a [udp:] stanza on the forwarder?  That's where you'd need to set up the no_appending_timestamp=true&lt;/P&gt;

&lt;P&gt;However, your props refers to source::...mytest... which makes me think youre getting this data from files.  So I'm not sure.  Maybe stop by IRC or work with support.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2011 14:58:04 GMT</pubDate>
    <dc:creator>jrodman</dc:creator>
    <dc:date>2011-03-18T14:58:04Z</dc:date>
    <item>
      <title>no_appending_timestamp behaviour for splunktcp source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61857#M12357</link>
      <description>&lt;P&gt;Scenario:
I want to forward syslog data using a splunk universal forwarder.
However, when it gets to the central splunk server, it has double timestamp and an incorrect host (the splunk forwarder).&lt;/P&gt;

&lt;P&gt;Question:
How can I reproduce the same behaviour that the option no_appending_timestamp does for an UPD source but for a SPLUNKTCP source in etc/apps/search/local/inputs.conf?&lt;/P&gt;

&lt;P&gt;Solution?:
So far I'm trying using the TRANSFORMS-stripheaders = syslog-header-stripper-ts-host in etc/system/local/props.conf?&lt;/P&gt;

&lt;P&gt;Current inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997]
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Current props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::...mytest...]
TRANSFORMS-stripheaders = syslog-header-stripper-ts-host syslog-host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Mar 2011 21:29:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61857#M12357</guid>
      <dc:creator>acalvo</dc:creator>
      <dc:date>2011-03-17T21:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: no_appending_timestamp behaviour for splunktcp source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61858#M12358</link>
      <description>&lt;P&gt;Splunk forwarding and receiving wont add anything to the text, so that's not where this is occurring.  I'm not sure how the data is coming into the forwarder, but it sounds like you have a [udp:] stanza on the forwarder?  That's where you'd need to set up the no_appending_timestamp=true&lt;/P&gt;

&lt;P&gt;However, your props refers to source::...mytest... which makes me think youre getting this data from files.  So I'm not sure.  Maybe stop by IRC or work with support.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2011 14:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61858#M12358</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-03-18T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: no_appending_timestamp behaviour for splunktcp source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61859#M12359</link>
      <description>&lt;P&gt;I'm just monitoring files which are a dump of a syslog message, so they already have the original timestamp.  &lt;/P&gt;

&lt;P&gt;Can I use the something similar?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2011 15:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61859#M12359</guid>
      <dc:creator>acalvo</dc:creator>
      <dc:date>2011-03-18T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: no_appending_timestamp behaviour for splunktcp source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61860#M12360</link>
      <description>&lt;P&gt;The 'double' timestamp may just be the splunk UI, then.  Maybe a picture would help.&lt;/P&gt;

&lt;P&gt;As for getting the hostname from the data, this is a matter of your monitor stanza configuration.  Be sure to set it to syslog.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/no-appending-timestamp-behaviour-for-splunktcp-source/m-p/61860#M12360</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-03-18T16:06:12Z</dc:date>
    </item>
  </channel>
</rss>

