mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
**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
16 lines
566 B
Text
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[]
|