elasticsearch/docs/reference/watcher/example-watches.asciidoc
James Rodewig 255c9a7f95
[DOCS] Move x-pack docs to docs/reference dir (#99209)
**Problem:**
For historical reasons, source files for the Elasticsearch Guide's security, watcher, and Logstash API docs are housed in the `x-pack/docs` directory. This can confuse new contributors who expect Elasticsearch Guide docs to be located in `docs/reference`. 

**Solution:**
- Move the security, watcher, and Logstash API doc source files to the `docs/reference` directory
- Update doc snippet tests to use security

Rel: https://github.com/elastic/platform-docs-team/issues/208
2023-09-12 14:53:41 -04:00

13 lines
452 B
Text

[role="xpack"]
[[example-watches]]
== Example watches
The following example shows how to set up a watch to:
* <<watch-cluster-status,Monitor the status of an Elasticsearch cluster>>
For more example watches you can use as a starting point for building custom
watches, refer to the
https://github.com/elastic/examples/tree/master/Alerting[Example watches] in the
Elastic Examples repo.
include::example-watches/example-watch-clusterstatus.asciidoc[]