Create default monitoring rules

Hey Everyone,

When enabling monitoring it creates default rules for some standard issues like "shard size too large", "CCR read exception", etc.
The rules are listed here.

What I'm interested in, is how to recreate these rules once deleted. There is apparently an option of sorts when you consult the documentation, but I can't seem to find it when scrolling through Kibana.

Does someone know where it is, and if it's possible to recreate these rules automatically. Either via API or some CLI commands?

Thanks for any help in advance!


I've managed to find the way you create default rules.
It's located on Stack Monitoring default page, top right under Alerts and rules > Create default rules.
Is there any way to automate it?


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