Getting Data In

Is there a way to use syslog to send over logs to Splunk indexer instead of using a Splunk Forwarder to send?

Kitteh
Path Finder

Hi I am trying to send logs files from Linux system to Splunk Indexers, is there a way to configure the syslog to do this? If so, how to do it?

Additionally, if older Linux uses Syslog, newer uses Rsyslog, can Syslog still send over to Rsyslog flexibly?

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi Kitteh,

Sure, you can send syslog to Splunk, read this link please http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkEnterprisehandlessyslogdata

But, read this link http://www.georgestarcher.com/splunk-success-with-syslog/ as well, because there are some pitfalls sending syslog directly to Splunk.

Regarding the syslog and rsyslog question: if I understand it correctly you can send syslog to rsyslog and have rsyslog send the logs to Splunk. But again, better option is to have Splunk read the logs rsyslog is writing.

Hope this helps to get you started ...

cheers, MuS

View solution in original post

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi Kitteh,

Sure, you can send syslog to Splunk, read this link please http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkEnterprisehandlessyslogdata

But, read this link http://www.georgestarcher.com/splunk-success-with-syslog/ as well, because there are some pitfalls sending syslog directly to Splunk.

Regarding the syslog and rsyslog question: if I understand it correctly you can send syslog to rsyslog and have rsyslog send the logs to Splunk. But again, better option is to have Splunk read the logs rsyslog is writing.

Hope this helps to get you started ...

cheers, MuS

0 Karma

Kitteh
Path Finder

What do you mean to have splunk read the logs rsyslog is writing?

0 Karma

MuS
SplunkTrust
SplunkTrust

please read the link http://www.georgestarcher.com/splunk-success-with-syslog/ it will explain everything

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...