按照数字海洋教程,我将ELK堆栈和ELK节点设置为RedHat服务器。Kibana已经启动并运行,但当我将索引模式配置为logstash-*时,没有看到任何logstash索引。
Unable to fetch mapping. Do you have any indices matching the pattern?
当我做卷曲来查看我所拥有的索引时,它们仅仅是文件类型的索引。Filebeat应该将数据推送到logstash,后者正在监听5044。
$curl 'localhost:9200/_cat/indices?v'
health status index
我正在尝试在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
我正在尝试将日志从文件(在windows机器中)发送到logstash (在vmware ubuntu机器中),但我得到了以下错误:
Connecting error publishing events (retrying): dial tcp 192.168.220.130:5044: connectex: No connection could be made because the target machine actively refused it.
配置是: windows机器中的filebeat.yml:
output:
logstash:
hosts: [