elasticsearch api
count
curl -XGET http://21.3.5.121:9200/ipv4geo/service/_count -d '{"query":{"match":{"srv_content":"iis"}}}'
aggs
curl -XGET http://21.3.5.121:9200/ipv4geo/service/_search?search_type=count -d '{"query":{"match":{"srv_content":"openssh"}},"aggs":{"countryName":{"terms":{"field":"countryName"}}}}'