elasticsearch 非零度量FileBeat
我在ubuntu中使用elasic.co/filebeat:6.3.1和ELK elastic.co:6.3.0作为docker,同时运行filebeat来解决这个问题 我的filebeat.yml是elasticsearch 非零度量FileBeat,elasticsearch,kibana,filebeat,elasticsearch,Kibana,Filebeat,我在ubuntu中使用elasic.co/filebeat:6.3.1和ELK elastic.co:6.3.0作为docker,同时运行filebeat来解决这个问题 我的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 configurat
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: false
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /usr/local/java/ABC_LOGS/*/*.log
#- c:\programdata\elasticsearch\logs\*
#============================= Filebeat modules ===============================
filebeat.config.modules:
# Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
# Set to true to enable config reloading
reload.enabled: false
#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
#index.codec: best_compression
#_source.enabled: false
#============================== Dashboards =====================================
setup.dashboards.enabled: true
#============================== Kibana =====================================
setup.kibana:
host: "10.0.0.0:5601"
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
hosts: ["10.0.0.0:9200"]
请帮助我,提前谢谢您指的是什么问题?我在那里只看到信息日志?嗨@Val,谢谢你在我的filebeat.yml中的回复。我给出了一些路径/usr/local/java/ABC/*/*.log,但kibana仪表板中没有日志。Elasticseach为filebeat创建了索引,但日志没有出现,filebeat没有显示任何错误,我运行metricbeat它工作正常,请帮助我您可能需要在
filebeat.yml
中设置logging.level:debug
,以查看是否可以获得更多信息information@Val请看图片