# Logstash pods not pushing logs to Elastic

**URL:** <https://discuss.elastic.co/t/logstash-pods-not-pushing-logs-to-elastic/370120>\
**Category:** Logstash\
**Created:** [November 6, 2024, 11:18am UTC](https://discuss.elastic.co/t/logstash-pods-not-pushing-logs-to-elastic/370120 "2024-11-06T11:18:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devops\_training](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devops_training/32/131845_2.png) [@devops\_training](https://discuss.elastic.co/u/devops_training)\
**Post date:** [November 6, 2024, 11:18am UTC](https://discuss.elastic.co/t/logstash-pods-not-pushing-logs-to-elastic/370120/1 "2024-11-06T11:18:50Z")

</div>

There is no error in log file (logstash-plain.log). Sincedb is zero in size and I restarted the logstash pods. Then the sincedb file is 81 bytes and later it resets to zero.

```auto
I m using file input. This was working set and all the sudden this behavior.
not sure where the problem lies
drwxrwxrwx 3 root root 18 Nov 5 11:54 ..
drwxr-xr-x 2 ec2-user ec2-user 28 Nov 5 11:58 cloudserver
drwxr-xr-x 2 421 root 28 Nov 5 12:01 replacer
drwxr-xr-x 2 ec2-user ec2-user 6 Nov 5 12:01 producer-server
-rw-r--r-- 1 ec2-user ec2-user 0 Nov 6 11:03 .sincedb_error_nginx
-rw-r--r-- 1 ec2-user ec2-user 0 Nov 6 11:04 .sincedb_json
-rw-r--r-- 1 ec2-user ec2-user 81 Nov 6 11:04 .sincedb
drwxrwxrwx 5 root root 128 Nov 6 11:04 .
[root@ip-192-188-1-41 logs]# ls -ltra
total 0
drwxrwxrwx 3 root root 18 Nov 5 11:54 ..
drwxr-xr-x 2 ec2-user ec2-user 28 Nov 5 11:58 cloudserver
drwxr-xr-x 2 421 root 28 Nov 5 12:01 replacer
drwxr-xr-x 2 ec2-user ec2-user 6 Nov 5 12:01 producer-server
-rw-r--r-- 1 ec2-user ec2-user 0 Nov 6 11:04 .sincedb
-rw-r--r-- 1 ec2-user ec2-user 0 Nov 6 11:04 .sincedb_error_nginx
-rw-r--r-- 1 ec2-user ec2-user 0 Nov 6 11:04 .sincedb_json
drwxrwxrwx 5 root root 128 Nov 6 11:04 .

```

Please advise
