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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...