Skip to content

Instantly share code, notes, and snippets.

View pabit's full-sized avatar
🏠
Working from home

pabit

🏠
Working from home
View GitHub Profile
@maus-
maus- / logstash.conf
Created May 14, 2014 03:52
Logstash conf for rsyslog + auditd logs into elasticsearch
input {
syslog = {
type => syslog
port => 514
}
}
filter {
grok {
type => "auditd"
pattern => [" AUDIT type=%{WORD:audit_type} msg=audit\(%{NUMBER:audit_epoch}:%{NUMBER:audit_coun
@inliniac
inliniac / logstash-forwarder.conf
Created March 25, 2014 16:40
Logstash Suricata configs
{
"network": {
"servers": [ "x.x.x.x:5043" ],
"ssl certificate": "./lumberjack.pub",
"ssl key": "./lumberjack.key",
"ssl ca": "./lumberjack.pub"
},
"files": [
{
"paths": [ "/var/log/suricata/eve.json" ],