Is there way to suppress the watcher alert at the single shot and activate it back

is there way to automate this enable and disable of the watchers based on any scheduled manner?

Regards,
Kannan R

Hi,

To enable or disable a watcher, you need to know the ID of the watcher. The ID is used in the API endpoint to specify which watcher to enable or disable. The correct API endpoint to disable a watcher is /api/watcher/watch/<watch_id>/_deactivate and to enable it back is /api/watcher/watch/<watch_id>/_activate.

Please replace <watch_id> with the actual ID of the watcher you want to enable or disable.

If you want to automate this process, you might consider using a cron job or a similar scheduling tool to send these API requests at the desired times. However, please note that this would require additional setup outside of Kibana.

Regards