我刚刚开始使用Linux,我需要注释/取消注释.yml文件的某些行。我已经搜索了文档,并在这里搜索了不同的帖子,例如:comment a line with sed 我需要在这里注释第1行和第3行: output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"] 并取消注释此处的第1行和第3行: #output.logstash:
# The Logstash hosts
#hosts: ["localhost:5044"] 我使用过以下命令: su
嗨,我一直在用弹性堆栈进行自动日志记录。我有filebeat,它从路径读取日志,输出设置为5044端口上的logstash。logstash有一个输入,侦听5044并将输出推送到localhost:9200。问题是我不能让它起作用,我不知道发生了什么。以下是档案:
My filebeat.yml path:etc/filebeat/filebeat.yml
#=========================== Filebeat prospectors =============================
filebeat.prospectors:
# Each - is a pr
我正在尝试在Docker Swarm模式下安装ELK。
然后,我需要告诉filebeat将日志发送到logstash。
下面是我的filebeat配置文件:
#=========================== Filebeat prospectors =============================
## Each - is a prospector. Most options can be set at the prospector level, so
## you can use different prospectors for various configuration