logstash logging for honeypots

This commit is contained in:
t3chn0m4g3 2021-11-19 23:20:13 +00:00
parent 6c155ad87f
commit ce39e1bd4f

View file

@ -112,6 +112,13 @@ input {
type => "Heralding"
}
# Honeypots
file {
path => ["/data/honeypots/log/*.log"]
codec => json
type => "Honeypots"
}
# Honeypy
file {
path => ["/data/honeypy/log/json.log"]
@ -491,6 +498,13 @@ filter {
}
}
# Honeypots
if [type] == "Honeypots" {
date {
match => [ "timestamp", "ISO8601" ]
}
}
# Honeysap
if [type] == "Honeysap" {
date {