<?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 Can't get UF to translate cooked to plain old syslog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50932#M9768</link>
    <description>&lt;P&gt;I'm trying to use splunkforwarder-4.2.2-101277-linux-2.6-x86_64.rpm as an aggregator and translator for a bunch of Splunk servers sending cooked format to forward to one (now) or more (eventually) plain old syslog servers.  This should be really easy, but I seem to be missing something important.&lt;/P&gt;

&lt;P&gt;Basically, I want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ Splunk(s) ] --cooked--&amp;gt; [ UF ] --syslog--&amp;gt; [ syslog(s) ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I use [tcpout] in outputs.conf I can get it to sort-of work, except the syslog server receives gibberish when I sniff it.  When I try to use [syslog] I get nothing actually forwarded and an error in splunkd.log:&lt;BR /&gt;
ERROR TcpOutputProc - LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf.&lt;/P&gt;

&lt;P&gt;I've tried every combination I can think of, and per /opt/splunkforwarder/etc/system/README/outputs.conf.example even various props.conf and transforms.conf even though lots of folks say that the UF won't parse or use those.  I've searched the forums and Googled for hours, and still no matter what, I get an error and nothing, or gibberish.  The 3 test machines I'm using (regular Splunk sending cooked, UF, and plain old syslog) are all on the same subnet and switch, and can all talk to each other just fine.  As noted, it even almost kinda works, except for the "plain old" syslog part.  My syslog server is running syslog-ng and it is listening on 514 UDP.  But I'm verifying via tcpdump, so I'm not even worried about that part yet.  The stuff that gets there is not the same stuff I'm sending from Splunk.&lt;/P&gt;

&lt;P&gt;Unless I have [tcpout] in outputs.conf I get the "ERROR TcpOutputProc ..." but I suspect that that's what sending gibberish instead of plain old text.&lt;/P&gt;

&lt;P&gt;What silly, basic thing am I missing?&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = my_suf

[splunktcp://:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf = sends nothing, get "ERROR TcpOutputProc ..." above&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
defaultGroup = plainoldsyslog

[syslog:plainoldsyslog]
disabled = false
server = 192.168.1.100:514
type = tcp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf = sends something, but per tcpdump it's not the plain syslog text I want&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = plainoldsyslog

[tcpout:plainoldsyslog]
disabled = false
server = 192.168.1.100:514
type = tcp
sendCookedData = false
compressed = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 30 Jul 2011 06:38:56 GMT</pubDate>
    <dc:creator>nisse</dc:creator>
    <dc:date>2011-07-30T06:38:56Z</dc:date>
    <item>
      <title>Can't get UF to translate cooked to plain old syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50932#M9768</link>
      <description>&lt;P&gt;I'm trying to use splunkforwarder-4.2.2-101277-linux-2.6-x86_64.rpm as an aggregator and translator for a bunch of Splunk servers sending cooked format to forward to one (now) or more (eventually) plain old syslog servers.  This should be really easy, but I seem to be missing something important.&lt;/P&gt;

&lt;P&gt;Basically, I want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ Splunk(s) ] --cooked--&amp;gt; [ UF ] --syslog--&amp;gt; [ syslog(s) ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I use [tcpout] in outputs.conf I can get it to sort-of work, except the syslog server receives gibberish when I sniff it.  When I try to use [syslog] I get nothing actually forwarded and an error in splunkd.log:&lt;BR /&gt;
ERROR TcpOutputProc - LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf.&lt;/P&gt;

&lt;P&gt;I've tried every combination I can think of, and per /opt/splunkforwarder/etc/system/README/outputs.conf.example even various props.conf and transforms.conf even though lots of folks say that the UF won't parse or use those.  I've searched the forums and Googled for hours, and still no matter what, I get an error and nothing, or gibberish.  The 3 test machines I'm using (regular Splunk sending cooked, UF, and plain old syslog) are all on the same subnet and switch, and can all talk to each other just fine.  As noted, it even almost kinda works, except for the "plain old" syslog part.  My syslog server is running syslog-ng and it is listening on 514 UDP.  But I'm verifying via tcpdump, so I'm not even worried about that part yet.  The stuff that gets there is not the same stuff I'm sending from Splunk.&lt;/P&gt;

&lt;P&gt;Unless I have [tcpout] in outputs.conf I get the "ERROR TcpOutputProc ..." but I suspect that that's what sending gibberish instead of plain old text.&lt;/P&gt;

&lt;P&gt;What silly, basic thing am I missing?&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = my_suf

[splunktcp://:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf = sends nothing, get "ERROR TcpOutputProc ..." above&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
defaultGroup = plainoldsyslog

[syslog:plainoldsyslog]
disabled = false
server = 192.168.1.100:514
type = tcp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf = sends something, but per tcpdump it's not the plain syslog text I want&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = plainoldsyslog

[tcpout:plainoldsyslog]
disabled = false
server = 192.168.1.100:514
type = tcp
sendCookedData = false
compressed = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Jul 2011 06:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50932#M9768</guid>
      <dc:creator>nisse</dc:creator>
      <dc:date>2011-07-30T06:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get UF to translate cooked to plain old syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50933#M9769</link>
      <description>&lt;P&gt;The utterly failed to work at all for me, but dumping the UF and using regular Splunk as a forwarder with the same config files almost works...  See &lt;A href="http://splunk-base.splunk.com/answers/28438/no-time-or-host-in-forwarded-syslog-messages"&gt;http://splunk-base.splunk.com/answers/28438/no-time-or-host-in-forwarded-syslog-messages&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 23:27:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50933#M9769</guid>
      <dc:creator>nisse</dc:creator>
      <dc:date>2011-08-02T23:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get UF to translate cooked to plain old syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50934#M9770</link>
      <description>&lt;P&gt;Just to help people who may stumble across this, as of the current version (5.0.4), the Splunk Universal Forwarder is not capable of forwarding data in Syslog format. A Heavy Forwarder &lt;EM&gt;must&lt;/EM&gt; be used to do this. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;4.2.2 Docs&lt;/STRONG&gt;: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.2/Deploy/Forwarddatatothird-partysystemsd#Syslog_data"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.2/Deploy/Forwarddatatothird-partysystemsd#Syslog_data&lt;/A&gt; (Covering the version in question)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;5.0.4 Docs&lt;/STRONG&gt;: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Deploy/Forwarddatatothird-partysystemsd#Syslog_data"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/Deploy/Forwarddatatothird-partysystemsd#Syslog_data&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Check the latest docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Forwarddatatothird-partysystemsd"&gt;HERE&lt;/A&gt; for any possible changes in this.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 14:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-UF-to-translate-cooked-to-plain-old-syslog/m-p/50934#M9770</guid>
      <dc:creator>rturk</dc:creator>
      <dc:date>2013-09-04T14:24:58Z</dc:date>
    </item>
  </channel>
</rss>

