Getting Data In

How can I keep Syslog from reading and storing data?

Rah
Loves-to-Learn

In syslog ng I didn’t want to read the data and store the data , how do you do that?

Labels (1)
0 Karma

chaker
Contributor

Here is an example of syslog-ng configuration that stores the data on disk for Splunk to read. You will need to manage the data's retention with something like logrotate.
https://www.splunk.com/en_us/blog/tips-and-tricks/using-syslog-ng-with-splunk.html

Here is an example that uses syslog-ng and HEC, where no data is stored on the syslog server.
https://www.splunk.com/en_us/blog/tips-and-tricks/syslog-ng-and-hec-scalable-aggregated-data-collect...

You could also use the Splunk App for Syslog (SC4S)

https://splunkbase.splunk.com/app/4740/

https://splunk.github.io/splunk-connect-for-syslog/main/

 

0 Karma
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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

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