1、查找所有索引
GET index/_mapping
{
}
2、查询
GET index/type/_search
{
}
3、count
GET index/type/_count
{
}
4、查询SQL:
where application = "service-client"
and name = "gauge.response.star-star.favicon.ico"
and timestamp <= "2017-08-18T20:25:11.000Z"
order by value desc
{
"size": 10,
"sort": [
{
"value": "desc"
},
"_score"
],
"query": {
"bool": {
"must": [
{
"match": {
"application.keyword": {
"query": "nb-service-client"
}
}
},
{
"match": {
"name.keyword": {
"query": "gauge.response.star-star.favicon.ico"
}
}
},
{
"range": {
"timestamp": {<