我有点怀疑你在刷屏

logstash 用topics_pattern订阅以xxx开头的topic如何写pattern

Logstash | 作者 zuoliangliang | 发布于2019年07月29日 | 阅读数:1903


123.png

如上图想订阅以rights-app-log开头的topic,不生效,但是换成具体的topic可以正常工作,这个咋解决
已邀请:

stone_xy

赞同来自: juneryang

Regex pattern,正则表达式啊。
你这样写根本就不是正则。
改成 topics_pattern => "rights-app-log.*"
 
 
doc:
A topic regex pattern to subscribe to. The topics configuration will be ignored when using this configuration.

要回复问题请先登录注册