我的配置是这样的,这是input内容
input {
kafka {
id => "kafka_1"
...
...
bootstrap_servers => "localhost:9092"
}
}
output内容是这样的:
output {
elasticsearch {
hosts => "172.19.100.210:9200"
...
index => "bwae-%{id}-%{+YYYY-MM-dd}"
}
}
output的%{id}无法取到input下的kafka里的id,请问各位大神们这个问题该怎么解决
input {
kafka {
id => "kafka_1"
...
...
bootstrap_servers => "localhost:9092"
}
}
output内容是这样的:
output {
elasticsearch {
hosts => "172.19.100.210:9200"
...
index => "bwae-%{id}-%{+YYYY-MM-dd}"
}
}
output的%{id}无法取到input下的kafka里的id,请问各位大神们这个问题该怎么解决
0 个回复