Is it possible to have a central script where all the Watcherconfigs e.g threshold, triggerinterval... are saved and accessible for multiple watchers. Similar to the possibility to have the condition in a single script. If so, how can that be done and where can that be uploaded?
{
"metadata": {
"name": "name",
"watcherconfig": {
"trigger_interval_unit": "m",
"agg_type": "avg",
"time_field": "@timestamp",
"trigger_interval_size": 5,
"term_size": 5,
"time_window_unit": "d",
"threshold_comparator": "<",
"term_field": null,
"index": ["index*"],
"time_window_size": 1,
"threshold": 0.5,
"agg_field": null
}
}}