我正在尝试从filebeat->logstash->elastic search发送日志文件。filebeat.yml。但我在filebeat日志中得到以下错误:
2017-12-07T16:15:38+05:30 ERR Failed to connect: dial tcp [::1]:5044: connectex: No connection could be made because the target machine actively refused it.
我的filebeat和logstash配置如下:
1.filebeat.yml
filebeat.prosp
我希望在logstash文件字段中更改一个值。
对于我的情况,我的logstash配置文件是这样的..
# Read input from filebeat by listening to port 5044 on which filebeat will send the data
input {
beats {
port => "5044"
}
}
filter {
######################################### For Solr ###############################
我在filebeat.yml中添加了新字段,如下所示: filebeat.inputs:
# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.
- type: log
# Change to true to enable this input configuration.
enabled