Hello,
I would like to know if it is possible to create alerts with the Elastic Search API. Let me explain;
I have a script below that sends me the traffic of a client during the last 5 minutes:
GET /app-sms-smpp-serversmpp-prd-7.4.2-2020.11.10/_search
{
"query": {
"bool": {
"must": [
{
"term": {
"smpp.serversmpp.data.client": {
"value": "KDEV"
}
}
},
{
"range": {
"@timestamp": {
"from": "now-5m/m",
"to": "now/s"
}
}
}
]
}
}
}
I would like to know if it was possible to create an alert (email for example) that would be triggered when the number of hits for this client during the last 5 minutes is zero for example.
Thank you very much in advance for your help.
Best regards,
Baptiste
