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!

Announcing Scheduled Export GA for Dashboard Studio

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

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 GA in US-AWS!

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