elasticsearch/docs/reference/watcher/trigger.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

16 lines
566 B
Text

[role="xpack"]
[[trigger]]
== {watcher} triggers
++++
<titleabbrev>Triggers</titleabbrev>
++++
Every watch must have a `trigger` that defines when the watch execution process
should start. When you create a watch, its trigger is registered with the
appropriate _Trigger Engine_. The trigger engine is responsible for evaluating
the trigger and triggering the watch when needed.
{watcher} is designed to support different types of triggers, but only time-based
<<trigger-schedule,`schedule`>> triggers are currently available.
include::trigger/schedule.asciidoc[]