<?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: Can a light forwarder forward on udp/syslog data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14274#M1439</link>
    <description>&lt;P&gt;You can do either of these two things: &lt;/P&gt;

&lt;P&gt;1- You can send raw data to splunk indexer through both tcp and udp ports using your syslog. 
or 
2 - You can send splunk data (from a forwarder) to the splunk indexer through ONLY TCP. &lt;/P&gt;

&lt;P&gt;so, if you want to go with option 1, and keep your syslog and send data to splunk, you can use: 
 ./splunk add tcp 50333 
Listening for data on TCP port 50333. 
 ./splunk add udp 50332 
Listening for UDP input on port 50332. &lt;/P&gt;

&lt;P&gt;Of course you can change the port to 514 as needed by syslog. &lt;/P&gt;

&lt;P&gt;If you do not want to use syslog then you can use: &lt;/P&gt;

&lt;P&gt;The listening needs to be done on the indexer: 
 ./splunk enable listen 50123 
 ./splunk restart &lt;/P&gt;

&lt;P&gt;The forwarding needs to be done from the forwarder: 
 ./splunk add forward-server beefysup01:50123 
 ./splunk restart &lt;/P&gt;

&lt;P&gt;Make sure though that you are monitoring the syslogs otherwise you will not see any data in your indexer. &lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;.gz&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2010 06:18:39 GMT</pubDate>
    <dc:creator>Genti</dc:creator>
    <dc:date>2010-05-26T06:18:39Z</dc:date>
    <item>
      <title>Can a light forwarder forward on udp/syslog data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14273#M1438</link>
      <description>&lt;P&gt;I would like to deploy Light Forwarders at our remote locations to act as a syslog server. Can light forwarder be configured to forward data and receive data on TCP/UDP 514? Or is this only possible in a standard forwarder? &lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2010 06:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14273#M1438</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-05-26T06:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can a light forwarder forward on udp/syslog data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14274#M1439</link>
      <description>&lt;P&gt;You can do either of these two things: &lt;/P&gt;

&lt;P&gt;1- You can send raw data to splunk indexer through both tcp and udp ports using your syslog. 
or 
2 - You can send splunk data (from a forwarder) to the splunk indexer through ONLY TCP. &lt;/P&gt;

&lt;P&gt;so, if you want to go with option 1, and keep your syslog and send data to splunk, you can use: 
 ./splunk add tcp 50333 
Listening for data on TCP port 50333. 
 ./splunk add udp 50332 
Listening for UDP input on port 50332. &lt;/P&gt;

&lt;P&gt;Of course you can change the port to 514 as needed by syslog. &lt;/P&gt;

&lt;P&gt;If you do not want to use syslog then you can use: &lt;/P&gt;

&lt;P&gt;The listening needs to be done on the indexer: 
 ./splunk enable listen 50123 
 ./splunk restart &lt;/P&gt;

&lt;P&gt;The forwarding needs to be done from the forwarder: 
 ./splunk add forward-server beefysup01:50123 
 ./splunk restart &lt;/P&gt;

&lt;P&gt;Make sure though that you are monitoring the syslogs otherwise you will not see any data in your indexer. &lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;.gz&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2010 06:18:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14274#M1439</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-05-26T06:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can a light forwarder forward on udp/syslog data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14275#M1440</link>
      <description>&lt;P&gt;A light forwarder &lt;EM&gt;can&lt;/EM&gt; be configured to receive data on TCP or UDP ports by putting one (or both) of the following as appropriate into &lt;CODE&gt;$SPLUNK_HOME/etc/apps/SplunkLightForwarder/local/default-mode.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pipeline:udp]
disabled = false

[pipeline:tcp]
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It can forward syslog output if you further add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pipeline:indexerPipe]
disabled_processors= indexandforward, diskusage, signing, http-output-generic-processor, stream-output-processor 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But be warned that unless you are receiving and sending only syslog/UDP, the output will probably be broken in the wrong places, probably to the degree that it's useless if you're going from TCP to UDP. (due to the fundamental nature of a Light Forwarder &lt;EM&gt;not&lt;/EM&gt; recognizing event breaks in continuous data). This isn't a problem when forwarding to a Splunk indexer via SplunkTCP because the indexer will expect to run parsing and line-breaking against the data, but this is not going to be true for a standard syslog receiver. Basically, just use a regular forwarder, or better, rsyslog or real syslog server instead.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2010 06:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-a-light-forwarder-forward-on-udp-syslog-data/m-p/14275#M1440</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-05-26T06:59:33Z</dc:date>
    </item>
  </channel>
</rss>

