# Logstash showing Document count as 1. only last line of the syslog is displaying in kibana

**URL:** https://discuss.elastic.co/t/logstash-showing-document-count-as-1-only-last-line-of-the-syslog-is-displaying-in-kibana/288787
**Category:** Logstash
**Created:** [November 9, 2021, 4:02pm UTC](https://discuss.elastic.co/t/logstash-showing-document-count-as-1-only-last-line-of-the-syslog-is-displaying-in-kibana/288787 "2021-11-09T16:02:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kalyan\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalyan_m/32/96919_2.png) [@kalyan\_M](https://discuss.elastic.co/u/kalyan_M)
#### Post date: [November 9, 2021, 4:02pm UTC](https://discuss.elastic.co/t/logstash-showing-document-count-as-1-only-last-line-of-the-syslog-is-displaying-in-kibana/288787/1 "2021-11-09T16:02:12Z")

</div>

Hi,

I am new to ELK configurations. I configured the ubuntu VM logs to ELK VM. I am getting logs from the ubuntu VM to log stash. but it was showing document count as only 1. please help with the issue.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/086a67fc7c7d65aef7c9b238c63e052d2923837d.jpeg)

---

<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: [December 7, 2021, 4:02pm UTC](https://discuss.elastic.co/t/logstash-showing-document-count-as-1-only-last-line-of-the-syslog-is-displaying-in-kibana/288787/2 "2021-12-07T16:02:18Z")

</div>

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