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 d966484 commit e293719
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configs/pilot_log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ filter {
}

mutate {
remove_field => [ "message_kv", "input_message", "version", "@version", "[extra][logger_name]", "[extra][logstash_async_version]", "[extra][process_name]", "[extra][thread_name]"]
remove_field => [ "message_kv", "input_message", "version", "@version", "[extra][func_name]", "[extra][logger_name]", "[extra][line]", "[extra][path]", "[extra][logstash_async_version]", "[extra][process_name]", "[extra][thread_name]"]
convert => { "RequestID" => "integer" }
convert => { "PandaJobID" => "integer" }
convert => { "TaskID" => "integer" }
convert => { "Harvester_WorkerID" => "integer" }
}
# extra.path has this random thing that should be shortened /scratch/atlas_MTFrHlIS/pilot3/pilot/util/realtimelogger.py
}

output {
Expand Down

0 comments on commit e293719

Please sign in to comment.