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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...