Logstash shutdown after startup

Hi,

Version: 7.8.1
Plattform: OpenShift 3.11

Sometimes during Logstash pod startups it happens that the container restarts after startup. We use the monitoring feature and the logs indicate that there is some problem with the monitoring pipeline. The interesting thing is that after some restarts the pod finally becomes ready. But it is a little annoying since the startup sometimes takes now several minutes.

[2020-11-06T13:09:19,661][ERROR][logstash.inputs.metrics  ] Failed to create monitoring event {:message=>"For path: http_address. Map keys: [:jvm, :stats, :os]", :error=>"LogStash::Instrument::MetricStore::MetricNotFound"}
[2020-11-06T13:09:29,820][ERROR][logstash.inputs.metrics  ] Failed to create monitoring event {:message=>"For path: http_address. Map keys: [:jvm, :stats, :os]", :error=>"LogStash::Instrument::MetricStore::MetricNotFound"}
[2020-11-06T13:09:39,831][ERROR][logstash.inputs.metrics  ] Failed to create monitoring event {:message=>"For path: http_address. Map keys: [:jvm, :stats, :os]", :error=>"LogStash::Instrument::MetricStore::MetricNotFound"}
[2020-11-06T13:09:49,836][ERROR][logstash.inputs.metrics  ] Failed to create monitoring event {:message=>"For path: http_address. Map keys: [:jvm, :stats, :os]", :error=>"LogStash::Instrument::MetricStore::MetricNotFound"}
[2020-11-06T13:09:55,406][INFO ][logstash.inputs.beats    ][main] Beats inputs: Starting input listener {:address=>"0.0.0.0:6044"}
[2020-11-06T13:09:56,884][ERROR][logstash.agent           ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<main>, action_result: false", :backtrace=>nil}
[2020-11-06T13:09:57,231][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2020-11-06T13:09:59,133][INFO ][logstash.javapipeline    ] Pipeline terminated {"pipeline.id"=>".monitoring-logstash"}
[2020-11-06T13:09:59,180][INFO ][logstash.runner          ] Logstash shut down.

Any idea how to fix this?

Regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.