Not getting every datas in nested json filter

Hi Team,

We are using logstash 6.4 version and not getting every data in nested JSON filter.

Sample data:

{"from":0,"size":1000,"query":{"bool":{"must":[{"term":{"companyId":12484}},{"term":{"aroundid":22}},{"term":{"loyalType.id":12}}]}},"sort":[{"group_name":{"order":"asc"}}]}
{"from":0,"size":1000,"query":{"bool":{"must":[{"term":{"companyId":32484}},{"term":{"aroundid":23}},{"term":{"loyalType.id":57}}]}},"sort":[{"group_name":{"order":"asc"}}]}
{"from":0,"size":1000,"query":{"bool":{"must":[{"term":{"companyId":52484}},{"term":{"aroundid":42}},{"term":{"loyalType.id":34}}]}},"sort":[{"group_name":{"order":"asc"}}]}

Below Result I got:

from : 0

size : 1000

query.bool.must : " {
"term": {
"companyId": 12484
}
},
{
"term": {
"aroundid": 22
}
},
{
"term": {
"loyalType.id": 12
}
}"

sort : " {
"group_name": {
"order": "asc"
}
}"

But my requirement is needed to get field values 's for "companyId" , "aroundid" in separate fields.

Please help on this.

Anyone know this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.