Issue with loki data range and values aggregation

Hello,

Given this expression : sum by (endStatus) ( count_over_time({job="stackator-logs"} | json | endStatus=~".+"[$__interval]) )

When i made a request with an 1 hour range i have this panel, which is expected :

When i zoom out the data displayed is now incorrect, “Success” going from 6 to 3, and i don’t understand why…

Here’s the data :

2022-05-24 12:42:43	
{"startTime":"2022-05-24-10:28:41","epoch":1653388963166,"stepDuration":0.608,"uuid":"7149","name":"stackator-backend/stack-creation","user":"build-talend-tsd","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}
2022-05-24 12:42:34	
{"startTime":"2022-05-24-10:29:59","epoch":1653388953986,"stepDuration":0.658,"uuid":"7150","name":"stackator-backend/stack-creation","user":"jadhavkajal1234","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}
2022-05-24 12:25:12	
{"startTime":"2022-05-24-10:21:14","epoch":1653387912229,"stepDuration":0.731,"uuid":"7148","name":"stackator-backend/stack-creation","user":"sebarre-talend","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}
2022-05-24 12:15:15	
{"startTime":"2022-05-24-09:13:25","epoch":1653384569260,"stepDuration":2.595,"uuid":"7144","name":"stackator-backend/stack-creation","user":"build-talend-tsd","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}
2022-05-24 12:15:15	
{"startTime":"2022-05-24-09:07:34","epoch":1653384082431,"stepDuration":0.99,"uuid":"7143","name":"stackator-backend/stack-creation","user":"antoinegarrec","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}
2022-05-24 12:15:15	
{"startTime":"2022-05-24-09:19:53","epoch":1653384485471,"stepDuration":2.55,"uuid":"7146","name":"stackator-backend/stack-creation","user":"Nassim Nait Hamoud","step":"Push stack description file update","level":"INFO","message":"Stack creation is successful","endStatus":"Success"}

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.