I am trying to do a very basic query from the explorer which looks like this:
var sensorFilter = [];
sensorFilter.push({
property_name: "uuid",
operator: "eq",
property_value: "1234"
});
var avg_sensor_pm = new Keen.Query("average", {
eventCollection: "status_update",
targetProperty: "sensors[0].properties[0].value",
filters: sensorFilter
});
The query returns nothing, I am wondering if the syntax to access indexed element in an array is not correct? Anybody with the same problem?