Zeroska / SC4S-All-You-Need

Repo about to guide you custom filter and docker lab for testing sc4s configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the SC4S

In most cases this means a new SC4S filter must be developed. In this situation you can either build a filter or file an issue with the community to request help.

SC4S can be used in production for a lot of data sources and new data sources are being added each day. Its a very well maintained product. You can deploy it in production. The only time I won't recommend SC4S is if you have like hundreds of custom data like application data you would like to onboard into splunk as syslog. You would end up writing parsers for all those manually in that case. Also remember its not a replacement for an intermediate forwarder i.e you can't accept data from a UF into sc4s and forward it to your indexer. For that you need to maintain an intermediate forwarder.

Want to look at the raw message

Set the variable SC4S_SOURCE_STORE_RAWMSG=yes and look for the RAWMSG field in Splunk when a sample event is sent to SC4S. When you view the event in Splunk (which should have one of the two fallback sourcetypes – sc4s:fallback or nix:syslog) you will see other fields as well; these will be very useful when developing our log path.

Develop log path

What is log path in SC4S

/opt/sc4s/local/config/log-paths

Syslog-ng

Here you can find the reference which network protocol you should use UDP or TCP

About

Repo about to guide you custom filter and docker lab for testing sc4s configuration


Languages

Language:Shell 100.0%