A bit late but maybe this will help others who land here via a web search...
@Val's answer works. However, in my case, Kibana isn't recognizing the syntax with } and { on different lines: I have to keep }{ on the same line. The syntax looks like this (indented for clarity):
GET default*/_msearch
{}{
"size": 1,
"query": {
"bool": {
"must": [
{ "query_string": { "query": "field1:somevalue*" } },
{ "range": { "@timestamp": { "gte": "now-30m" } } }
]
}
},
"sort": {
"@timestamp": { "order": "desc" }
}
}{}{
"size": 1,
"query": {
"bool": {
"must": [
{ "query_string": { "query": "field2:somevalue*" } },
{ "range": { "@timestamp": { "gte": "now-30m" } } }
]
}
},
"sort": {
"@timestamp": { "order": "desc" }
}
}