Getting Data In

Is it possible to forward logs from UF to Syslog-ng using either BSD/IETF syslog format?

mohdmikhael
Explorer

Hi,

I was posed a query from my customer. Is it possible to forward syslog from UF to Syslog-ng using the BSD/IETF syslog format? If so, how would one go about implementing it?

Thank you in advance for any information provided.

Regards,

Mikhael

Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

Yes it's possible, at least on HF side, but why you don't send all to syslog-ng and then read those by UF from syslog-ng server? That is much better approach than use splunk to deliver syslog.

If you still want to do it by splunk, there are lot of examples on community and docs.splunk.com e..g

https://community.splunk.com/t5/Getting-Data-In/Forwarding-data-from-Heavy-forwarder-to-syslog-serve...

r. Ismo

PickleRick
SplunkTrust
SplunkTrust

The question was about UF. And on UF it's not possible. Quoting from outputs.conf spec:

# The syslog output processor is not available for universal or light
# forwarders.

Anyway, I suppose it's a case of replacing one solution with another or implementing two different solutions for two different purposes (like Splunk for security and some syslog collector for ops). I'd probably also suggest doing the syslog part first and pass the events to the Splunk layer (either by saving to files and ingesting the files with UF or by pushing them directly to HEC from the syslog server, bypassing UF completely).

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...