Extract Multiple Queries
Posted: Sat Mar 05, 2016 12:21 am
How to extract multiple queries at a time ?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
curl -XPOST "http://localhost:9200/_search?pretty" -d'
{
"fields": ["user", "message", "type"],
"query": {
"bool": {
"should": [
{ "match": { "message": "Failed" }},
{ "match": { "message": "Something Else" }}
]
}
}
}
}'