# Viewing progress( sample :1 out of 7, 2 out of 7)of a test execution using the logs pushed via logstash to Kibana

**URL:** <https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273>\
**Category:** Logstash\
**Tags:** elastic-stack-alerting\
**Created:** [July 19, 2025, 3:41am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273 "2025-07-19T03:41:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MahaQA](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@MahaQA](https://discuss.elastic.co/u/MahaQA)\
**Post date:** [July 19, 2025, 3:41am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273/1 "2025-07-19T03:41:23Z")

</div>

```auto
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.

```

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [July 21, 2025, 10:21am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273/2 "2025-07-21T10:21:42Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/5/553b6888f0cfff99e5f0235532647f28d61833a5.png)

Thanks!!

---

<div class="post-metadata">

**Author:** ![MahaQA](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@MahaQA](https://discuss.elastic.co/u/MahaQA)\
**Post date:** [July 21, 2025, 11:29am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273/3 "2025-07-21T11:29:31Z")

</div>

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,

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c7d6a4829c7537f600a6ef5db300f19e1f72d06.png)

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [July 22, 2025, 3:30am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273/4 "2025-07-22T03:30:39Z")

</div>

Hello @MahaQA ,

Could you please share if it has fixed your requirement or share more details?

Thanks!!

---

<div class="post-metadata">

**Author:** ![MahaQA](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@MahaQA](https://discuss.elastic.co/u/MahaQA)\
**Post date:** [July 22, 2025, 8:54am UTC](https://discuss.elastic.co/t/viewing-progress-sample-1-out-of-7-2-out-of-7-of-a-test-execution-using-the-logs-pushed-via-logstash-to-kibana/380273/5 "2025-07-22T08:54:07Z")

</div>

yes, fixed.  
This thread can be closed.

Thank you!
