added alot of notebook and docker stuff

logstash config
This commit is contained in:
root
2018-04-03 10:28:02 +02:00
parent e85d8a9f85
commit a6cc17b436
11 changed files with 310 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
input {
# tcp {
# port => 5000
# type => syslog
# }
# udp {
# port => 5000
# type => syslog
# }
file{
type => as_csv
path => "/tmp/logfile"
# path => "/data/*"
start_position => "beginning"
}
}
filter {
csv{
columns => ["endTime","Name","requestUrl","sourceAddress","destinationAddress","priority","Device Vendor","Device Product","Non-CEF Raw Message"]
}
grok { match => { "message" => ["%{DATESTAMP:datum}"] } }
date { match => [ "datum","yy/MM/dd HH:mm:ss" ] timezone => "CET" }
}
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
index => "arcsight"
# index => "arcsight-%{+YYYY.MM.dd}"
}
# stdout { codec => rubydebug }
}