Skip to content

Commit

Permalink
Refactor Logstash configuration for pilot_log collector: Remove unnec…
Browse files Browse the repository at this point in the history
…essary fields and fix JSON parsing error
  • Loading branch information
ivukotic committed Oct 4, 2024
1 parent c73b9e7 commit f63f187
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configs/pilot_log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ filter {
# ruby { path => "/usr/share/logstash/filters/reformat.rb" }

mutate {
remove_field => [ "version", "@version" ]
# remove_field => ["extra"][ "logger_name" ]
# remove_field => ["extra"][ "logstash_async_version" ]
# remove_field => ["extra"][ "process_name" ]
# remove_field => ["extra"][ "thread_name" ]
remove_field => [ "version", "@version", "[extra][logger_name]","[extra][logstash_async_version]","[extra][process_name]","[extra][thread_name]"]
}
# extra.path has this random thing that should be shortened /scratch/atlas_MTFrHlIS/pilot3/pilot/util/realtimelogger.py
}
Expand Down

0 comments on commit f63f187

Please sign in to comment.