Auto - install plugin after upgrade

I'm using the sflow plugin for logstash, which has to be installed after every single upgrade, or else logstash won't start. Now the problem is that our systems are automatically upgraded. So, either I disable automatic upgrade for logstash, which I don't want, or I find some way to automatically install the missing plugins after every upgrade. Is there an easy way to run the plugin installer automatically after an upgrade? Something like ?

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