You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/overlays/elasticsearch-shared-overlays.yaml
+21-16Lines changed: 21 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,19 @@ actions:
43
43
This API provides an alternative to relying solely on Kibana UI for connector and sync job management. The API comes with a set of validations and assertions to ensure that the state representation in the internal index remains valid.
The Elasticsearch Query Language (ES|QL) provides a powerful way to filter, transform, and analyze data stored in Elasticsearch, and in the future in other runtimes.
Copy file name to clipboardExpand all lines: specification/watcher/execute_watch/WatcherExecuteWatchRequest.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,15 @@ import { RequestBase } from '@_types/Base'
26
26
import{Id}from'@_types/common'
27
27
28
28
/**
29
+
* Run a watch.
29
30
* This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.
30
-
* For testing and debugging purposes, you also have fine-grained control on how the watch runs. You can execute the watch without executing all of its actions or alternatively by simulating them. You can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after execution.
31
+
*
32
+
* For testing and debugging purposes, you also have fine-grained control on how the watch runs.
33
+
* You can run the watch without running all of its actions or alternatively by simulating them.
34
+
* You can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after it runs.
35
+
*
36
+
* You can use the run watch API to run watches that are not yet registered by specifying the watch definition inline.
37
+
* This serves as great tool for testing and debugging your watches prior to adding them to Watcher.
Copy file name to clipboardExpand all lines: specification/watcher/put_watch/WatcherPutWatchRequest.ts
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,21 @@ import { long } from '@_types/Numeric'
28
28
import{TransformContainer}from'@_types/Transform'
29
29
30
30
/**
31
+
* Create or update a watch.
32
+
* When a watch is registered, a new document that represents the watch is added to the `.watches` index and its trigger is immediately registered with the relevant trigger engine.
33
+
* Typically for the `schedule` trigger, the scheduler is the trigger engine.
34
+
*
35
+
* IMPORTANT: You must use Kibana or this API to create a watch.
36
+
* Do not add a watch directly to the `.watches` index by using the Elasticsearch index API.
37
+
* If Elasticsearch security features are enabled, do not give users write privileges on the `.watches` index.
38
+
*
39
+
* When you add a watch you can also define its initial active state by setting the *active* parameter.
40
+
*
41
+
* When Elasticsearch security features are enabled, your watch can index or search only on indices for which the user that stored the watch has privileges.
42
+
* If the user is able to read index `a`, but not index `b`, the same will apply when the watch runs.
0 commit comments