mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 15:33:06 +01:00
Merge pull request #5998 from Security-Onion-Solutions/fix/hl_host_name
Rename HTTP client headers and host
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user