mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
Now that the watch record is write once and never read/parsed. We can de-normalize its format (the structure of the `watch_record` document) such it'd be optimal for searching and aggregating. - `execution_result` renamed to `result` (for minimal verbosity) - the structure of `trigger_event` changed to: ``` { "trigger_event" : { "type" : "<trigger_type>", "triggered_time" : "<datetime>", "<trigger_type>" : { // type specific data (optional) } } } ``` - the structure of `input` results changed to: ``` { "result" : { "input" : { "type" : "<input_type>", "payload" : { // the payload }, "<input_type>" : { // custom result fields per type (optional) } }, ... } } ``` - the structure of `condition` results changed to: ``` { "result" : { ... "condition" : { "type" : "<condition_type>", "met" : true | false, "<condition_type>" : { // custom result fields per type (optional) } }, ... } } ``` - the structure of `transform` results changed to: ``` { "result" : { ... "transform" : { "type" : "<transform_type>", "payload" : { // the transformed payload } "<transform_type>" : { // custom result fields per type (optional) } }, ... } } ``` - the structure of `actions` results changed to: ``` { "result" : { ... "actions" : [ { "id" : "<action_id>" "type" : "<action_type>", "status" : "success" | "failure" | "simulated" | "throttled", "reason" : "holds the reasoning if status is either success or throttled", "transform" : { // action level transform result (if applicable)} "<action_type>" : { // custom result fields per type (optional) } }, ... ] } } ``` Original commit: elastic/x-pack-elasticsearch@98466d4b83
= Elasticsearch Watcher Plugin This plugins adds conditioned scheduled tasks features to elasticsearch - such a task is called a `Watch`. You can build the plugin with `mvn package`. The documentation is put in the `docs/` directory.
Description
Languages
Java
99.5%
Groovy
0.4%