Loop through watcher results to create multiple actions

I'm looking to create a filesystem monitor based off of metricbeat and this sample watch.

I want to perform a webhook action to create tickets in our ticketing system. However, if multiple servers/filesystems return over the threshold, I want to create separate tickets for each. So essentially loop through an action for each returned document. Is there a way to accomplish this, or a good strategy to perform this task?


Hey Dave,

watcher itself cannot do this currently. I think the easiest way is to send the data over to logstash using the http input of logstash and the webhook action from watcher and then do this on the logstash side, which is more flexible.


1 Like

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