Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能解释 add_field 做什么?
过滤器 { 变异 { add_field => { "%{column1}" => "column2" } } }
mutate、clone、kv 和 grok 插件中存在的 add_field 有什么区别
使用此配置,add_fields 会在消息中添加一个新字段,该字段名将等于输入中“column1”字段的值,其值将是字面量“column2”。如果您希望该值是输入字段的值,则必须使用 %{column2}