Sudo ./logstash --path.settings /etc/logstash command is throwing error

We are trying to trigger multiple pipelines from pipelines.yml using the command

sudo ./logstash --path.settings /etc/logstash

However, we are facing the below errors

[ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:<pipeline_id>, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: Cannot evaluate ${jdbc_connection_string}. Replacement variable jdbc_connection_string is not defined in a Logstash secret store or an environment entry and there is no default value given."

But, we are able to trigger the pipeline manually with ${jdbc_connection_string}

Please guide.

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