![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ELK
debugkernel
这个作者很懒,什么都没留下…
展开
-
ES入门操作
创建索引 创建非结构的索引: 通过postman软件,执行http请求。 put方法, http://192.168.7.6:9200/people body如下: { "settings": { "number_of_shards":3, "number_of_replicas":1 } } 创建结构化的索引 put方法 http://192.16...原创 2019-04-22 11:49:46 · 217 阅读 · 0 评论 -
基于golang的ES入门教程
插入索引: package main import ( "context" "fmt" "github.com/olivere/elastic" ) func main(){ Client, err := elastic.NewClient(elastic.SetURL("http://192.168.7.6:9200")) fmt.Println(Client, err) n...原创 2019-04-22 15:54:20 · 2124 阅读 · 1 评论