Due to the different flow of traffic I need to change the value of pipeline.workers attribute dynamically. But currently I am using sed and other bash tool to edit the pipeline.yaml file and update the value.
Is there any way I can do the same with the logstash API?
I have tried Elasticsearch API endpoint but it is not working for me maybe because I am using OSS version.