Limiting the maximum number of exec input commands

Hi there,

I'm using the exec input to run some perl scrips that connects to some db and retrieves some data.
The issue is that I have like 30 exec statements and they all get executed when I start LS for the first time hitting the DB max conn limit for that user (in my case 10)

Is there a way to limit the maximum number of exec's on the next run ? Like execute max 10 exec commands, wait for them to finish...execute the next and so on.

Thanks!

I don't think this is possible. Logstash can limit filtering concurrency but all inputs run in independent threads.

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