Getting Data In

Why am I unable to send events to a syslog server with my current heavy forwarder configuration?

michael_lee
Path Finder

Background

I tried to configure sending events to a syslog server. Here is my configurations
outputs.conf

[syslog:my_syslog]
server = 10.10.10.2:514
type = tcp
disabled = false

transforms.conf

[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog

props.conf

[sourcetype::access_common]
TRANSFORMS-route = send_to_syslog

My syslog server's syslog.conf

*.* /var/log/messages

I can simulate a TCP connection on port 514 to my syslog server. However, the events are just not coming in. Any advice?

Added Splunk heavy forwarder using:

splunk enable app SplunkForwarder

./splunk add forward-server mysyslog:514 -auth admin:changeme
thanks

0 Karma
1 Solution

michael_lee
Path Finder

I have managed to send events over to my syslog server. my outputs.conf

[syslog:my_syslog]
server = 10.10.10.2:514
type=tcp
sendCookedData=false
indexAndForward = 1

View solution in original post

michael_lee
Path Finder

I have managed to send events over to my syslog server. my outputs.conf

[syslog:my_syslog]
server = 10.10.10.2:514
type=tcp
sendCookedData=false
indexAndForward = 1
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...