Logstash Pipeline Config API

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.

There is not, the Logstash REST Endpoint is for monitoring only, you can't update settings for pipelines, the only thing that you can update is the log level for some loggers, but not pipeline settings.

I see, thanks.

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