I am having Logstash v7.8.0 installed along with Elasticsearch v7.8.0.
My Requirement is
to run multiple logstash instances using pipelines via individual "conf" files.
These conf files , are having variables which are unique across the executions and I need to set them before running logstash.
My Logstash will run with the help of scheduler in interval of time period say 1 hour.
I am not able to achieve : to have variables set before scheduler hitting logstash to read "conf" file and run it.
I am using shell script to be executed before logstash runs.. but its not working.
How to run shell script via logstash pipeline so that , I can have variables in respective "conf" files only and multiple times as its a scheduler run throughout the day.