I get - Error in 'stats' command: The eval expression for dynamic field 'if("tags.path"="/enroll" AND "response"=success, _time, null())' is invalid. Error='Type checking failed. The '==' operator received different types.'. But if I do this "tags.path"=="/enroll" AND "response"=="success" it gets past that error and runs. So to explain it say the csv has - student1 and student2 I'd like to get the latest enrollment date for those 2 students. Now, since index="main" app="student-api" "tags.path"="/enroll" "response"=success doesn't allow us to filter by student_id, I am trying to get the trace_id from that query, join it with index="main" app="student-api" (which allows us to filter by student_id) based on that trace_id and then use the 2 ids from the csv to filter on that result.
... View more