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