Skip to content

stevommmm/logbucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogBucket

Syslog collector and fanout server.

TCP(+TLS) input, json and regex parser, zstandard file output, unix socket outputs for integration

Features

  • Highly concurrent tcp syslog(+tls) receiver
  • Easy configuration of any number of regexes to parse inputs (tested in order of capture group count)
  • Built in line based json parsing
  • Arbitrary number of unix socket forwards for integration with other systems
  • Plain TCP and TLS handling (use nftables to forward :514 to :6514)
  • Non-blocking TLS handshakes off main accept loop
  • Zstandard inline compressed file outputs
  • Arbitrary time buckets for batched output file management
  • Automatic self-signed SSL generation for testing
  • Easy active log debugging with nc -l -k -U /tmp/debug.sock (if configed as an output)

See config.example.yml for configuration options.

Nftables forwarding

# Forward non-tls syslog to syslog-tls listener
nft add rule nat prerouting tcp dport 514 redirect to 6514
# Forward udp to nonpriv port on same as TCP
nft add rule nat prerouting udp dport 514 redirect to 6514

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages