mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-04 05:52:11 +00:00
Fix logstash logging issue, introduced with Sentrypeer 4.0.4
Similar to #1807
This commit is contained in:
parent
c556d02a30
commit
6faf600d40
2 changed files with 14 additions and 8 deletions
11
docker/elk/logstash/dist/http_output.conf
vendored
11
docker/elk/logstash/dist/http_output.conf
vendored
|
@ -698,12 +698,15 @@ filter {
|
|||
remove_field => ["event_timestamp"]
|
||||
}
|
||||
mutate {
|
||||
rename => {
|
||||
"source_ip" => "src_ip"
|
||||
"destination_ip" => "dest_ip"
|
||||
}
|
||||
split => ["source_ip", ":"]
|
||||
rename => { "destination_ip" => "dest_ip" }
|
||||
add_field => { "dest_port" => "5060" }
|
||||
}
|
||||
mutate {
|
||||
add_field => { "src_ip" => "%{[source_ip][0]}" }
|
||||
add_field => { "src_port" => "%{[source_ip][1]}" }
|
||||
remove_field => ["source_ip"]
|
||||
}
|
||||
}
|
||||
|
||||
# Tanner
|
||||
|
|
11
docker/elk/logstash/dist/logstash.conf
vendored
11
docker/elk/logstash/dist/logstash.conf
vendored
|
@ -698,12 +698,15 @@ filter {
|
|||
remove_field => ["event_timestamp"]
|
||||
}
|
||||
mutate {
|
||||
rename => {
|
||||
"source_ip" => "src_ip"
|
||||
"destination_ip" => "dest_ip"
|
||||
}
|
||||
split => ["source_ip", ":"]
|
||||
rename => { "destination_ip" => "dest_ip" }
|
||||
add_field => { "dest_port" => "5060" }
|
||||
}
|
||||
mutate {
|
||||
add_field => { "src_ip" => "%{[source_ip][0]}" }
|
||||
add_field => { "src_port" => "%{[source_ip][1]}" }
|
||||
remove_field => ["source_ip"]
|
||||
}
|
||||
}
|
||||
|
||||
# Tanner
|
||||
|
|
Loading…
Reference in a new issue