I have a requirement to view the status of my automation suite(eg in real time, I want to view 2 of 7 completed, 3 of 7 completed etc), and alerts if any failed test case failed.
following logs I am pushing to Kibana.
(attaching single JSON entry for reference)
{
"instant": {
"epochSecond": 1752895882,
"nanoOfSecond": 498626500
},
"thread": "main",
"level": "INFO",
"loggerName": "structured",
"message": "{\"event\":\"progress\",\"status\":\"FAILED\",\"testName\":\"testStatusAPI\",\"completed\":\"7\",\"total\":\"7\",\"logTime\":\"2025-07-19T03:31:22.497721500Z\",\"module\":\"tests.regression.Status\",\"runId\":\"20250719-001\"}",
"endOfBatch": false,
"loggerFqcn": "org.apache.logging.slf4j.Log4jLogger",
"threadId": 1,
"threadPriority": 5
}
I am new bie to both Kibana, and dashboard, need help to build a dashboard to view the progress and also alert(via slack notification or trigger email) in case of test failures.
Hello @MahaQA
Welcome to the community!!
You can try to use LAST value of the fields you are interested in , this will help you to show the latest status of your automation suite
Thanks!!
thanks for your response!
It helps to get the latest value only, as values of the mentioned parameters get overridden, I tried another way and its listing entry as and when new data is pushed,
Hello @MahaQA ,
Could you please share if it has fixed your requirement or share more details?
Thanks!!
yes, fixed.
This thread can be closed.
Thank you!