Thanks Igor,
So i did try using "time_shift" operation but yet it still seem to process Data on real time instead of on the records which were in the past - What I am trying to achieve is only the state of a Transaction but what I am getting is its different states due to Time series being involved.
Basically the use case I am trying to achieve is to capture the state of a particular ID - if its in sent state or not. using the query below and that's why I am trying to make my query process on old records - as checking old logs only I'll be able to get confirmed state of the ID -
Query below is expected to return -1 Only if there's a mismatch between 1st and 2nd metric - and as you can see there are a few times where it shows:
Any suggestions how I can achieve just the state and not different states of it?
fetch cloud_function
| group_by[metric.store_number,id:metric.fetch_uuid]
fetch cloud_function
| group_by[metric.store_number,id:metric.sent_uuid]
}
| group_by[metric.store_number,id]
| time_shift 15m
| outer_join -1