一开始我是这样修改的:
没有生效 然后看文档 看到 ilm If you’re sending events to a cluster that supports index lifecycle management, see Configure index lifecycle management to learn how to change the index name.
 
															
																				output.elasticsearch.index: "customname-%{[agent.version]}-%{+yyyy.MM.dd}"
setup.template.name: "customname"
setup.template.pattern: "customname-*"没有生效 然后看文档 看到 ilm If you’re sending events to a cluster that supports index lifecycle management, see Configure index lifecycle management to learn how to change the index name.
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "filebeat"
setup.ilm.pattern: "{now/d}-000001"
 
	
3 个回复
zqc0512 - andy zhou
赞同来自:
ningmengding - 90后IT小菜鸟
赞同来自:
chuckxu
赞同来自: