0
在Logstash中解析了我的JSON後,我有以下字段。無法在Logstash中刪除帶有前綴的所有字段
parsedcontent.userinfo.appId
parsedcontent.userinfo.deviceId
parsedcontent.userinfo.id
parsedcontent.userinfo.token
parsedcontent.userinfo.type.
我想使用過濾器刪除所有這些字段。我可以做到這一點:
filter{
mutate{
remove_field => "[parsedcontent][userinfo][appId]"
}
}
但我必須寫有相同的前綴多次字段名和我有很多這類領域。是否有任何過濾器可以輕鬆刪除帶前綴的字段?請指導。