# Debug logs explanation

**URL:** <https://discuss.elastic.co/t/debug-logs-explanation/276465>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 20, 2021, 3:45pm UTC](https://discuss.elastic.co/t/debug-logs-explanation/276465 "2021-06-20T15:45:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grazia0912](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@grazia0912](https://discuss.elastic.co/u/grazia0912)\
**Post date:** [June 20, 2021, 3:45pm UTC](https://discuss.elastic.co/t/debug-logs-explanation/276465/1 "2021-06-20T15:45:13Z")

</div>

Hi, Can someone help me understand what does the below logs mean? I enabled the debug log in my filebeat to check if logstash is acknowledging the messages in a timely manner and if filebeat proceeds only when logstash acknowledged the messages/batch sent? Thank you!

```auto
2021-06-20T23:20:32.182+0800	DEBUG	[publisher]	memqueue/ackloop.go:160	ackloop: receive ack [104875: 0, 382]
2021-06-20T23:20:32.183+0800	DEBUG	[publisher]	memqueue/eventloop.go:535	broker ACK events: count=382, start-seq=67319929, end-seq=67320310

2021-06-20T23:20:32.183+0800	DEBUG	[acker]	beater/acker.go:59	stateful ack	{"count": 382}
2021-06-20T23:20:32.183+0800	DEBUG	[publisher]	memqueue/ackloop.go:128	ackloop: return ack to broker loop:382
2021-06-20T23:20:32.183+0800	DEBUG	[publisher]	memqueue/ackloop.go:131	ackloop: done send ack
2021-06-20T23:20:32.183+0800	DEBUG	[registrar]	registrar/registrar.go:264	Processing 382 events
2021-06-20T23:20:32.183+0800	DEBUG	[registrar]	registrar/registrar.go:231	Registrar state updates processed. Count: 382
2021-06-20T23:20:32.183+0800	DEBUG	[registrar]	registrar/registrar.go:201	Registry file updated. 2 active states.
2021-06-20T23:20:32.221+0800	DEBUG	[logstash]	logstash/async.go:172	348 events out of 348 events sent to logstash host log-app.mks-gp.icp.com:9513. Continue sending

```

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [June 21, 2021, 1:38am UTC](https://discuss.elastic.co/t/debug-logs-explanation/276465/2 "2021-06-21T01:38:40Z")

</div>

> [@grazia0912](#):
>
> `2021-06-20T23:20:32.221+0800	DEBUG	[logstash]	logstash/async.go:172	348 events out of 348 events sent to logstash host log-app-fab-meiapccds.mkz-gp.icp.infineon.com:9513.`

This line identifies the number of events sent to the logstash output. Based on this, it appears filebeat is sending events to logstash successfully.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 19, 2021, 3:38am UTC](https://discuss.elastic.co/t/debug-logs-explanation/276465/3 "2021-07-19T03:38:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
