Merge pull request #5998 from Security-Onion-Solutions/fix/hl_host_name

Rename HTTP client headers and host
This commit is contained in:
weslambert
2021-10-25 13:21:11 -04:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ input {
id => "endgame_data" id => "endgame_data"
port => 3765 port => 3765
codec => es_bulk codec => es_bulk
request_headers_target_field => client_headers
remote_host_target_field => client_host
ssl => true ssl => true
ssl_certificate_authorities => ["/usr/share/filebeat/ca.crt"] ssl_certificate_authorities => ["/usr/share/filebeat/ca.crt"]
ssl_certificate => "/usr/share/logstash/filebeat.crt" ssl_certificate => "/usr/share/logstash/filebeat.crt"

View File

@@ -8,7 +8,7 @@
filter { filter {
if [event][module] =~ "endgame" { if [event][module] =~ "endgame" {
mutate { mutate {
remove_field => ["headers", "host"] remove_field => ["client_headers", "client_host"]
} }
} }
} }