The structure of my logs looks like this:
{deviceID:"xx", charger:"xy", date: "yy", battery: 5}
Is it possible to have a ES query that.
- Takes last 24h
- Excludes devices where any of the log in the last 24h had charger value = 2
- Returns logs
I don't know how to do the second step where you exclude all the logs from a single device if any of the logs had a specific value.
Thanks