I am running Logstash 9.1.2 on Windows Server 2019, and i am trying to read logs from a network share folder - //MACHINE-1/folder$/somedir/star*/some*star.log ( read the “star” as star character ). But it doesnt read the log files.
I have verified that the user under which Logstash is running has all necessary permissions on the shared folder. Logstash is running as a service as the specific user account.
Keep in mind that reading files from network shares may not work as expected in Logstash, this is not something that has a lot of tets as mentioned in the documentation.
Let me add that i tried with backslash and forwardslash and double escape and so on, in the path pattern.
Another question - how to make Logstash reveal the issue it is having in reading the files? i turned logging level to debug and trace, but did not see anything helpful.
It works with NFS, but they also may have some issues, reading files from network shares is not something that works well with both logstash and beats.
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.