GET /logstash-*/_search
{
"_source": ["@timestamp", "container_name", "host", "message"],
"sort" : [
{ "@timestamp" : {"order" : "desc"}}
],
"query": {
"match" : {
"message" : {
"query" : "active",
"operator" : "and"
}
}
}
}
Last active
September 18, 2016 13:25
-
-
Save JohannesBertens/8e3a61a84c7ed071840b1d1443009a52 to your computer and use it in GitHub Desktop.
Elasticsearch DSL Query
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment