gpt4 book ai didi

logstash - Filebeat - 从远程目录读取

转载 作者:行者123 更新时间:2023-12-05 03:11:42 30 4
gpt4 key购买 nike

是否可以将文件节拍设置为从远程目录读取(因为我无法在那台机器上安装进程)

我在beats yml上是这样设置的:

filebeat:
# List of prospectors to fetch data.
prospectors:
# Each - is a prospector. Below are the prospector specific configurations
-
paths:
- \\remotemachine\remotedir\*\*.log
input_type: log
document_type: RemoteLogs

好像不行

最佳答案

We do not recommend reading log files from network volumes. Whenever possible, install Filebeat on the host machine and send the log files directly from there. Reading files from network volumes (especially on Windows) can have unexpected side effects. For example, changed file identifiers may result in Filebeat reading a log file from scratch again.

Filebeat Reference » Troubleshooting » Frequently asked questions

关于logstash - Filebeat - 从远程目录读取,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36308036/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com