filebeats filbeat.yml文件位置
的 2 个目录,配置文件“filebeat.yml”应该保留在哪个位置
- 我已经在我的机器中安装了 Filebeats,我想知道一旦我找到了 Elastic
C:\ProgramData\Elastic\Beats\filebeat -> [我还可以在这里找到 filebeat yml 示例][1]
C:\Program Files\Elastic\Beats\8.1.2\filebeat
有人可以帮忙吗? [1]: https://i.sstatic.net/8xqgU.png
I've installed Filebeats in my machine, and I was wondering in which location should the configuration file "filebeat.yml" should stay, once I've found 2 diretories for Elastic
C:\ProgramData\Elastic\Beats\filebeat
-> [I can find also filebeat yml examples here][1]C:\Program Files\Elastic\Beats\8.1.2\filebeat
Can someone help ?
[1]: https://i.sstatic.net/8xqgU.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目标是在 filebeat 程序可以访问的位置拥有一个 .yml 文件。任何一种都可以正常工作。您要做的就是将正在运行的 filebeat 指向所需的 filebeat.yml 文件。例如,在 Linux 上,如果我创建一个名为 example.yml 的新 .yml 文件,我将通过执行 ./filebeat -c /example.yml 来运行它。
Windows 也应该如此。
The goal is to have a .yml file in a location that the filebeat program can access. Either one would work just fine. All you would do is point the running filebeat to the desired filebeat.yml file. For example, on Linux, if I create a new .yml file called example.yml, I would run it by doing ./filebeat -c /example.yml.
The same should be the case for Windows.