ElasticStack-elasticsearch篇
概述
主要汇总下基础的restful api
host:ip:9200
基础查询
获取es信息 GET host
request:
1 | { |
获取索引 GET host/_cat/indices?v
request:
1 | health status index uuid pri rep docs.count docs.deleted store.size pri.store.size |
批量创建数据 POST host/bank/account/_bulk
request:
1 | {"index":{"_id":"1"}} |
GET查询 GET host/bank/_search?q=age:31
response:
1 | { |
POST查询 POST host/bank/_search
request:
1 | { |
response:
1 | { |
聚合查询
分组 tags 后再分组source_ip
1 | GET vpn-log-*/_search |
专题目录
ElasticStack-安装篇
ElasticStack-elasticsearch篇
ElasticStack-logstash篇
elasticSearch-mapping相关
elasticSearch-分词器介绍
elasticSearch-分词器实践笔记
elasticSearch-同义词分词器自定义实践
docker-elk集群实践
filebeat与logstash实践
filebeat之pipeline实践
Elasticsearch 7.x 白金级 破解实践
elk的告警调研与实践