ES存储了如下格式的数据,使用logstash的json-fileter无法正确解析,请问如何在logstash中正确的解析此类数据格式?json数组的size是不定的!
{
"key": "serializer",
"value": "widget"
},
{
"key": "namespace_id",
"value": "FaceTeam"
},
{
"key": "project_id",
"value": "foxconn"
},
{
"key": "id",
"value": "229"
}
{
"key": "serializer",
"value": "widget"
},
{
"key": "namespace_id",
"value": "FaceTeam"
},
{
"key": "project_id",
"value": "foxconn"
},
{
"key": "id",
"value": "229"
}
1 个回复
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自: