Hey, search query doesn't return either of the values
GET /_search
{
"query": {
"bool": {
"must": [
{
"term": {
"source": "/var/log/elasticsearch/server1/xxx-1.log"
}
},
{
"term": {
"source": "/var/log/elasticsearch/server2/xxx-1.log"
}
},
{
"term": {
"source": "/var/log/elasticsearch/server3/xxx-1.log"
}
}
]
}
}
}
This works if the source field must match 3 values?? I want to get the indices that match any value of the 3 paths specified. Is there any other way?