随笔分类 -  ELASTICSEARCH

摘要:课程demo { "template": "logs-*", "settings": { "index.indexing.slowlog.threshold.index.debug": "2s", "index.indexing.slowlog.threshold.index.info": "5s" 阅读全文
posted @ 2020-12-27 19:58 秋华 编辑
摘要:相关阅读 https://www.elastic.co/cn/blog/introducing-elastic-cloud-on-kubernetes-the-elasticsearch-operator-and-beyond?elektra=products&storm=sub1 https:// 阅读全文
posted @ 2020-12-27 19:34 秋华 编辑
摘要:代码Demo PUT logs_2019-06-27 PUT logs_2019-06-26 POST _aliases { "actions": [ { "add": { "index": "logs_2019-06-27", "alias": "logs_write" } }, { "remov 阅读全文
posted @ 2020-12-27 18:58 秋华 编辑
摘要:课程代码 # 标记一个 Hot 节点 bin/elasticsearch -E node.name=hotnode -E cluster.name=geektime -E path.data=hot_data -E node.attr.my_node_type=hot # 标记一个 warm 节点 阅读全文
posted @ 2020-12-27 18:46 秋华 编辑
摘要:课程demo # 生成证书 # 为您的Elasticearch集群创建一个证书颁发机构。例如,使用elasticsearch-certutil ca命令: bin/elasticsearch-certutil ca #为群集中的每个节点生成证书和私钥。例如,使用elasticsearch-certu 阅读全文
posted @ 2020-12-27 18:24 秋华 编辑
摘要:如何为集群启用X-Pack Security 如何为内置用户设置密码 设置 Kibana与ElasticSearch通信鉴权 使用安全API创建对特定索引具有有限访问权限的用户 This tutorial involves a single node cluster, but if you had 阅读全文
posted @ 2020-12-27 18:16 秋华 编辑
摘要:DELETE test PUT test/_doc/1 { "content":"Hello World" } POST test/_search { "profile": "true", "query": { "match": { "content": "Hello World" } } } PO 阅读全文
posted @ 2020-12-27 18:02 秋华 编辑
摘要:#########Demo for Pipeline############### DELETE tech_blogs #Blog数据,包含3个字段,tags用逗号间隔 PUT tech_blogs/_doc/1 { "title":"Introducing big data......", "ta 阅读全文
posted @ 2020-12-27 17:23 秋华 编辑
摘要:课程demo DELETE blogs/ # 写入文档 PUT blogs/_doc/1 { "content":"Hadoop is cool", "keyword":"hadoop" } # 查看 Mapping GET blogs/_mapping # 修改 Mapping,增加子字段,使用英 阅读全文
posted @ 2020-12-27 17:17 秋华 编辑
摘要:课程demo PUT my_blogs/_doc/comment1?routing=blog1 { "comment":"I am learning ELK", "username":"Jack", "blog_comments_relation":{ "name":"comment", "pare 阅读全文
posted @ 2020-12-27 17:09 秋华 编辑
摘要:课程demos DELETE blog # 设置blog的 Mapping PUT /blog { "mappings": { "properties": { "content": { "type": "text" }, "time": { "type": "date" }, "user": { " 阅读全文
posted @ 2020-12-27 17:05 秋华 编辑
摘要:课程demo DELETE my_flights PUT my_flights { "settings": { "number_of_shards": 20 }, "mappings" : { "properties" : { "AvgTicketPrice" : { "type" : "float 阅读全文
posted @ 2020-12-27 16:57 秋华 编辑
摘要:DELETE /employees PUT /employees/ { "mappings" : { "properties" : { "age" : { "type" : "integer" }, "gender" : { "type" : "keyword" }, "job" : { "type 阅读全文
posted @ 2020-12-27 16:53 秋华 编辑