Getting Data In

forward to syslog

sigizmynd
New Member

I want to you splunk forwarder to send apache-logs to syslog

i made config:

/opt/splunkforwarder/etc/system/local

inputs.conf
[default]
host = my_hostname

outputs.conf
[syslog]
defaultGroup=syslogGroup

[syslog:my_syslog_group]
server = IP:514

props.conf
[host::cpanel*]
TRANSFORMS-cpanel = send_to_syslog

[source::/usr/local/apache/domlogs/logfile]

transforms.conf
[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group

i restart splunk
/opt/splunkforwarder/bin/splunk restart

and nothing happened (it don't send any information)
and in logs, i can't see source files

Tags (2)
0 Karma
1 Solution

harsmarvania57
Ultra Champion

Using Universal forwarders you can't send data to syslog server Reference doc, you require splunk enterprise instance.

You can configure a heavy forwarder to send data in standard syslog format. The forwarder sends the data through a separate output processor. The syslog output processor is not available for universal or light forwarders.

View solution in original post

0 Karma

harsmarvania57
Ultra Champion

Using Universal forwarders you can't send data to syslog server Reference doc, you require splunk enterprise instance.

You can configure a heavy forwarder to send data in standard syslog format. The forwarder sends the data through a separate output processor. The syslog output processor is not available for universal or light forwarders.
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...