Is it possible to prevent logstash to start until a config file is available?

Hello , my logstash is being started by a process with config.reload.automatic option. i.e ./logstash -f $PATH_TO_CONFIG_FILES --config.reload.automatic

I have many configuration files and they are being generated at runtime by different processes and these config files are being copied to $PATH_TO_CONFIG_FILES.

when logstash starts if there is no config file under $PATH_TO_CONFIG_FILES it stops with following message : failed to fetch pipeline configuration {:message=>"No config files found: ....

is it possible to make logstash wait until a config file is available?
or is it possible to give a retry count for starting logstash?

No, it is not possible.

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