logstash
logstash copied to clipboard
reduce logging level for compiled pipeline
it's fairly common to run Logstash with --log.level debug, however some details:
[2021-06-08T12:53:15,138][DEBUG][org.logstash.config.ir.CompiledPipeline][main] Compiled filter
P[filter-mutate{"add_field"=>{"failed_timestamp_utc"=>"%{[event_timestamp]}", "current_status"=>"failed"}}|[file]/home/logstash/config/logstash_main.conf:73:8:```
mutate{
add_field => { failed_timestamp_utc => "%{[event_timestamp]}"
current_status => "failed"}
}
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@8d7da797
[2021-06-08T12:53:15,162][DEBUG][org.logstash.config.ir.CompiledPipeline][main] Compiled conditional
[if (event.getField('[process_message]')=~process cancelled)]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@e0fde248
from the org.logstash.config.ir.CompiledPipeline logger are probably more of a trace nature