Hi Team,
We have deployed filebeat as docker container for reading log files by volume mounting of logs files from NFS server. We are getting stale NFS handle errors. Could you please help us how to resolve this issue. Is filebeat capable of reading NFS log files using volume mounting in docker containers ? We are using filebeat 7.4.0 version.
ERROR log/log.go:110 Unexpected state reading from /hostfs/opt/caemm/sample.log; error: read /hostfs/opt/caemm/sample.log: stale NFS file handle
Yes, I have looked into that section. We are able to read few logs from NFS server but few component logs are rotating less than a minute. We are getting this error whenever file is rotated very quickly. So we are missing few logs here when log file is rotated. Can you guild me how to fix this type of issue?
As this is described in the troubleshooting docs I do not necessarily think there is a fix as there still are a few open issues around this on GitHub. Will leave it to someone on the Beats team to answer.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.