Filebeat is not generating service logs.
It was installed using the script ".\install-service-filebeat.ps1"
It was generating logs few hours ago, it stops generating logs after I deleted the "logs" directory.
All configurations are left default with only changing output from Elasticsearch to Logstash.
OS version: Windows 10 version 1909 (OS Build 18363.778)
Filebeat version:
filebeat version 7.6.2 (386), libbeat 7.6.2 [d57bcf8684602e15000d65b75afcd110e2b12b59 built 2020-03-26 05:25:24 +0000 UTC]
Even not working if I uninstall the service, remove the whole directory, unzip the package and install the service again. There is still no "logs" directory existing.
The path data and logs are hard coded, which is not what defines in the directory layout docs [1]
Explicitly specify the log path using logging.files.path: "C:/filebeat/logs" will solve the problem.
Just wondering why it is hard coded in the powershell script?
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.