I have a new installation of logstash 8.5.0 at Alma 9 from the repo
When I run logstash as user logstash from the command line everything works as expocted
sudo -u logstash /usr/share/logstash/bin/logstash "--path.settings" "/etc/logstash"
[2022-11-07T01:06:03,370][INFO ][logstash.javapipeline ][.monitoring-logstash] Pipeline Java execution initialization time {"seconds"=>0.45}
[2022-11-07T01:06:03,447][INFO ][logstash.javapipeline ][.monitoring-logstash] Pipeline started {"pipeline.id"=>".monitoring-logstash"}
[2022-11-07T01:06:03,499][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2022-11-07T01:06:03,558][INFO ][logstash.agent ] Pipelines running {:count=>2, :running_pipelines=>[:".monitoring-logstash", :main], :non_running_pipelines=>[]}
When I start logstash as service ( systemctl start logstash ) it starts an endless loop of remove pipelines , shutting down and restartng.
[2022-11-07T00:58:44,378][INFO ][logstash.pipelinesregistry] Removed pipeline from registry successfully {:pipeline_id=>:".monitoring-logstash"}
[2022-11-07T00:58:44,424][INFO ][logstash.runner ] Logstash shut down.
...
the pipelines.yml , logstash.yml are default , I have only a minimum stdin.stdout conf file for testing. I test and search almost anything without success .
Thanks, George Bouras