High availability with exec command

Hello !
I'm currently configuring a highly availabable logstash cluster with two nodes.
I'm also using the exec plugin with logstash in order to pull new events.
I was wondering if it was possible to set the exec plugin highly available too ?
I mean i don't want to execute two times the command run by the exec plugin (on both nodes), it would give me twice the same result, so it would use space unnecessarily. But in an other hand i also need to execute the command even if one node is down.
Is such a thing possible ?
Thanks in advance !
Best regards

Each logstash instance runs independently. It does not provide support for this. You would have to build the logic into whatever logstash execs.

Thanks for your reply @Badger !

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