Execute pipeline on a specific host only


we run Logstash in a Docker Swarm like mode. Sometimes, there is only one instance running, sometimes eight depending on various parameters. There only one config for all instances.
One of our inputs is a scheduled Jdbc. But since we use it to import data from a SQL server, we need to run it only once at a time, i. e. on one Logstash instance only.
Any ideas how to achieve that (with a single config)?


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