当前位置: 首页> 财经> 产业 > 扬中贴吧_58同城怎么发布广告信息_企业网站优化_济南新闻头条最新事件

扬中贴吧_58同城怎么发布广告信息_企业网站优化_济南新闻头条最新事件

时间:2025/7/27 11:49:22来源:https://blog.csdn.net/weixin_45112997/article/details/143161103 浏览次数:0次
扬中贴吧_58同城怎么发布广告信息_企业网站优化_济南新闻头条最新事件

filebeat收集日志直接输出到elasticsearch
配置/etc/filebeat/filebeat.yml

# configuration file.
# ============================== Filebeat inputs ===============================
filebeat.inputs:
- type: logenabled: truepaths:- /mnt/logfile-nas/crs-center-service-*/*.logfields:app_name: appnameprofiles_active: proapp_node: hostname# 表示字段加在根节点下fields_under_root: truemultiline.type: patternmultiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'multiline.negate: truemultiline.match: after
# ============================== Filebeat modules ==============================
filebeat.config.modules:path: ${path.config}/modules.d/*.ymlreload.enabled: false
# ======================= Elasticsearch template setting =======================
setup.template.name: "template"
setup.template.pattern: "appname-*"
setup.template.settings.index.number_of_shards: 3
setup.template.settings.index.number_of_replicas: 1
#禁用索引生命周期管理,如果开启的话则会忽略我们自定义的索引
setup.ilm.enabled: false
setup.kibana:
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:hosts: ["es1:9200", "es2:9200", "es3:9200"]index: "%{[app_name]}-%{[profiles_active]}-%{+YYYY.MM.dd}"username: "username"password: "password"
# ================================= Processors =================================
processors:- drop_fields:fields: ["ecs","host","agent","log","input"]
关键字:扬中贴吧_58同城怎么发布广告信息_企业网站优化_济南新闻头条最新事件

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: