![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
es
泪光雨99
这个作者很懒,什么都没留下…
展开
-
es命令总结
d为索引名称1.GET /_cat/shards/d*?vindex shard prirep state docs store ip noded-000011 0 p STARTED 288172 99.9mb 127.0.0.1 ft-esd-000011 0 r UNASSIGNED原创 2022-04-26 09:37:02 · 469 阅读 · 0 评论 -
es kibana各种查询
1.查询字段create_time存在并且字段project为logging的记录GET /index_name/_search{ "query": { "bool": { "must": [ { "term": { "project": "logging" } }, { "exists": { "field": "create_time" } }] }原创 2022-04-24 16:43:44 · 1512 阅读 · 0 评论 -
go es查询数据
查询数据package apiimport ( "encoding/json" "fmt" "net/http" "github.com/gin-gonic/gin" "github.com/olivere/elastic/v7")type EsInfo struct { Host string `json:"host,omitempty"` User string `json:"user,omitempty"` Pwd string `j原创 2022-04-01 10:52:03 · 1234 阅读 · 0 评论 -
kibana es创建模板,索引,导入数据,简单聚合查询
kibana es创建模板,索引,导入数据,聚合查询原创 2022-03-31 16:08:07 · 5586 阅读 · 0 评论