mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
![]() - Added new generic remote logger to send events to remote servers. - Added new formats RFC3164 and JSON. Configuration example to send events to logstash using the tcp input plugin, in json format: "Loggers": [ { "Name": "remote", "Server": "127.0.0.1:3333", "Protocol": "tcp", "Workers": 5, "Format": "json", "Tag": "opensnitch" }, ] logstash configuration, saving events under document.*: input { tcp { port => 3333 codec => json_lines { target => "[document]" } } } You can also use the syslog input plugin: "Loggers": [ { "Name": "remote", "Server": "127.0.0.1:5140", "Protocol": "tcp", "Workers": 5, "Format": "rfc3164", "Tag": "opensnitch" }, ] logstash's syslog input plugin configuration: input { syslog { port => 5140 } } Note: you'll need a grok filter to parse and extract the fields. See: #947 |
||
---|---|---|
.. | ||
formats | ||
loggers | ||
log.go |