filebeat通常要在后台启动,但是有时会有进程莫名挂掉的请况,由于机器采集的又不是线上服务,所以也无法添加监控,就想到用systemctl来启动filebeat。 如果你是rpm安装的filebeat,那么后面可以忽略了,如果是源码解压的,可以参考一下。 我去查了一下filebeat的源码,其中有关于filebeat的systemctl配置生成的模板
ItisoftenusefultoindexthesamefieldinElasticsearchindifferentways,toservedifferentpurposes,forexample,mappingaPOCOstringpropertyasatextdatatypeforfulltextsearchaswellasmappingasakeyworddatatypeforstruc
elasticsearch结构化查询
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号