Hello,
Let's say I have created a field like this:
"market": [
{
"name": ["name1","name2","name3","name4","name5" ]
},
{"place":["P1","P2","P3"]}
]
Now, I want to check if the field "name" contains the value "name3".
I've tried this filter, but it doesn't work.
filter {
elasticsearch {
hosts => "localhost:9200"
index=>"admin"
query => 'market.name:(name3)'
sort => "_id:asc"
fields => {host_machine => 'host_machine' }
}
}
But it doesn't do anything (no crash, no error message, just doesn't do anything).
What am I doing wrong?