Hi Everyone just wanted to ask questions here, I've created a watcher that would run from 23:00 to 08:00 am eastern, minute 30th, 59th
{
"trigger": {
"schedule": {
"daily": {
"at": [
{
"hour": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
23
],
"minute": [
30,
59
]
}
]
}
}
},
"input": {
"search": {
"request": {
"search_type": "query_then_fetch",
"indices": [
"stats-p*"
],
"types": [],
"body": {
"size": 0,
"query": {
"bool": {
"filter": {
"range": {
"@timestamp": {
"time_zone": "-04:00",
"gte": "now-60m"
}
}
the issue that I found is that it stop running at 5:00 am eastern and it also runs at 19:00 to 22:30 eastern
see image below
the large box shows the watcher runs from 19:00 to 22:30 (you might get confused on the timezone as it shows +12hrs time difference on my local desktop)
the small box shows it stop running at 5:00 am eastern (the image shows a +12hrs time difference on my local desktop)