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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...