-
Notifications
You must be signed in to change notification settings - Fork 182
请问有没有类似logstash的metadata的功能 #161
Comments
对Kafka 消息的数据加 Topic 等信息? gohangout 有这个功能. 考虑使用 Gohangout 吗? |
go不太熟悉,可以研究一下,不懂的地方请多指教 |
假设有一条报文(logstash版本),[2017-04-01 22:21:21] production.INFO: this is a test log message by leon if [@metadata][log_level] == "INFO"{ output{ |
明白了, 目前没这个功能, 在写 ES 的时候, 会把所有字段都写进来. 可以考虑给用户配置, 可以过滤掉一些字段. |
Being scammed by your app |
可以使用metadata做判断依据,写入的时候metadata是丢弃的,翻了一遍没看到
The text was updated successfully, but these errors were encountered: