humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Parser Test Data examples not counted as "failed" #95

Open atz opened 4 years ago

atz commented 4 years ago

At the equivalent of

Added examples are saved, but when "Run Tests" is clicked, they are not counted as either passed or failed.

Specifically, these are failing examples, but the UI feedback obscures their failure.

Screen Shot 2019-09-10 at 11 45 37 AM

andejens commented 4 years ago

Thank you - we will investigate the issue.

anagrius commented 4 years ago

@atz Hey, thanks. We have identified the issue. The problem is that @timestamp needs to be assigned as a unix timestamp with milliseconds (usually using the parseTimestamp function). And in the cases where it was not, our test endpoint would ignore it.

The actual behaviour should be that the backend assigns a timestamp automatically by setting it to NOW. That normally occurs AFTER the parsing, which is why the test endpoint was not doing it. We are working on a fix, which should be out soon.