Hi,
i have logs coming to Kibana looking like this:
runID: abc1
name: test1
result: pass
runID: abc1
name: test2
result: fail
So i have few tests under one run. I need to set a status of FAIL/PASS to each run as a whole. So if there is at least one result "fail" I need to set a whole run as FAIL. only if all the tests within one run are passed, then the result is supposed to be passed.
I cannot use just ordering by @timestamp as the last test is pass, but there is also a fail test in the test run.
Thank you. But i never know the runID value. I can look it up in logs, but I need it to work automatically. i always need to display results for the last runID package, and need to filter just these tests. I dont know, in advance, how the runID string will look like. It is a "random" string of maybe 50 characters.
There are maybe 50 runs each day, and always need values for the last run only. And it must work automatically.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.