Skip to content

Instantly share code, notes, and snippets.

@kkroesch
Last active August 29, 2015 14:24
Show Gist options
  • Save kkroesch/6ed9f5a2c72a87919dd6 to your computer and use it in GitHub Desktop.
Save kkroesch/6ed9f5a2c72a87919dd6 to your computer and use it in GitHub Desktop.
Elasticsearch Netflow Search API
curl -X POST -d '
{
"query": {
"bool": {
"must": [
{
"match_all": {}
}
],
"must_not": [],
"should": []
}
},
"from": 0,
"size": 50,
"sort": {
"@timestamp": {
"order": "desc"
}
},
"facets": {}
}' http://elastic.secgw.ch/logstash-2015.07.06/_search/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment