Skip to content

Commit

Permalink
Remove unnecessary code and fields in temps.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Jan 29, 2024
1 parent f6a2ccd commit f7fdb75
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions configs/temps.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ input {
}

filter {
json {
source => "message"
tag_on_failure => ["_jsonparsefailure"]
}
# if [api_key] != [ "tPmAT5Ab3j7F9" ] {
# drop { }
# }

json {
source => "message"
remove_field => [ "message" ]
}
# if [api_key] != [ "tPmAT5Ab3j7F9" ] {
# drop { }
# }
mutate {
remove_field => [ "headers", "api_key", "host", "port" ]
}
Expand Down

0 comments on commit f7fdb75

Please sign in to comment.