I configured a pipeline in Logstash that extracts the orders of an online shop from database and sends them to OpenSearch. The pipeline is connected to the production database so there are continuous new order records.
On Friday I set up an anomaly detection detector on Opensearch that counts the number of orders with a 15 minute of detector interval.
Today, to do a test, I stopped the Logstash pipeline. So for an hour I left the situation like this and therefore Opensearch had no longer received new orders for an hour.
I was expecting an anomaly incident and instead nothing happened.
Yes your case is the same of mine. I tested also in Elasticsearch but also there doesn’t work.
Momently, i do a workaround, in order to have the expected behavior, and i set a custom alert on the index that send notification when elastic doesn’t receive data for 30 minutes. This alert is active every day only from 9:00 am to 11 pm .
For Elasticsearch, you can use another set of tools (forget what it’s called) that will detect when NO data is coming in. I think OS has the same. But that’s still not really what we’re looking for.