setup.ilm.enabled: false
setup.template.overwrite: true
setup.template.name: "test_log"
setup.template.pattern: "test_log-*"
setup.template.enabled: true
output.elasticsearch:
hosts: ["localhost:9200"]
index: "test_log-%{[fields.index]}-*"
indices:
- index: "test_log-zookeeper-%{+yyyy.MM.dd}"
pipeline: "test-zookeeper-pipeline"
when.equals:
fields.index: "zookeeper"
- index: "test_log-flume-%{+yyyy.MM.dd}"
pipeline: "test-flume-pipeline"
when.equals:
fields.index: "flume"
以上是我传输到es的配置,可以实现分到多个index,但是配置的pipeline无法生效
3 个回复
hz_zqc
赞同来自:
sweetguy
赞同来自:
gitzhanglj
赞同来自: