Getting Data In

Best way to use a syslog server and splunk indexer

reswob4
Builder

I have just built a brandy new syslog server. The purpose of this server is to provide a buffer so that instead of sending all syslog traffic directly to my indexers and losing data when I have to restart the indexers for various reasons or the connectivity drops or whatever, all that traffic comes to the syslog server which then gets sent to the indexers. The idea is that this machine would be capable of buffering events if the indexer can't be reached.

So my question is this: Is it best to:

  1. receive remote logs via syslog, write them to a local file/database and then use a universal forwarder to send to indexers
  2. receive remote logs via syslog, write them to a local file/database and then use a heavy forwarder to send to indexers
  3. receive remote logs via syslog, and use syslog to forward again to indexers

Thanks.

Oh, and IF #1, how many universal forwarders can you have on a single machine?

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

The first one is the best if your syslog server is not the indexer.

1 . receive remote logs via syslog, write them to a local file/database and then use a universal forwarder to send to indexers

Otherwise option 4.

4 . receive remote logs via syslog, write them to a local file on the indexers and monitor locally.

View solution in original post

0 Karma

reswob4
Builder

Thanks.

Using #1.

I'm having a weird issue though. I will post another question to deal with that...

0 Karma

yannK
Splunk Employee
Splunk Employee

The first one is the best if your syslog server is not the indexer.

1 . receive remote logs via syslog, write them to a local file/database and then use a universal forwarder to send to indexers

Otherwise option 4.

4 . receive remote logs via syslog, write them to a local file on the indexers and monitor locally.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...