摘要: 阅读全文
posted @ 2020-12-27 22:15 秋华 阅读(220) 评论(0) 推荐(0)
摘要: 课程demo # 打开关闭索引 DELETE test #查看索引是否存在 HEAD test PUT test/_doc/1 { "key":"value" } #关闭索引 POST /test/_close #索引存在 HEAD test # 无法查询 POST test/_count #打开索 阅读全文
posted @ 2020-12-27 22:04 秋华 阅读(317) 评论(0) 推荐(0)
摘要: 课程demo # 移动一个分片从一个节点到另外一个节点 POST _cluster/reroute { "commands": [ { "move": { "index": "index_name", "shard": 0, "from_node": "node_name_1", "to_node" 阅读全文
posted @ 2020-12-27 21:46 秋华 阅读(208) 评论(0) 推荐(0)
摘要: 课程demo # Node Stats: GET _nodes/stats #Cluster Stats: GET _cluster/stats #Index Stats: GET kibana_sample_data_ecommerce/_stats #Pending Cluster Tasks 阅读全文
posted @ 2020-12-27 21:39 秋华 阅读(373) 评论(0) 推荐(0)
摘要: 课程demo GET _cat/nodes?v GET _nodes/stats/indices?pretty GET _cat/nodes?v&h=name,queryCacheMemory,queryCacheEvictions,requestCacheMemory,requestCacheHi 阅读全文
posted @ 2020-12-27 21:30 秋华 阅读(392) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 21:25 秋华 阅读(793) 评论(0) 推荐(0)
摘要: 课程demo pip3 install esrally esrally configure # 只测试 1000条数据 esrally --distribution-version=7.1.0 --test-mode # 测试完整数据 esrally --distribution-version=7 阅读全文
posted @ 2020-12-27 21:12 秋华 阅读(332) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 21:06 秋华 阅读(222) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 21:03 秋华 阅读(195) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 20:59 秋华 阅读(150) 评论(0) 推荐(0)
摘要: 课程demo { "template": "logs-*", "settings": { "index.indexing.slowlog.threshold.index.debug": "2s", "index.indexing.slowlog.threshold.index.info": "5s" 阅读全文
posted @ 2020-12-27 19:58 秋华 阅读(281) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 19:39 秋华 阅读(235) 评论(0) 推荐(0)
摘要: 相关阅读 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 秋华 阅读(207) 评论(0) 推荐(0)
摘要: 代码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 秋华 阅读(480) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 18:53 秋华 阅读(239) 评论(0) 推荐(0)
摘要: 课程代码 # 标记一个 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 秋华 阅读(508) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 18:30 秋华 阅读(608) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-27 18:26 秋华 阅读(201) 评论(0) 推荐(0)
摘要: 课程demo # 生成证书 # 为您的Elasticearch集群创建一个证书颁发机构。例如,使用elasticsearch-certutil ca命令: bin/elasticsearch-certutil ca #为群集中的每个节点生成证书和私钥。例如,使用elasticsearch-certu 阅读全文
posted @ 2020-12-27 18:24 秋华 阅读(242) 评论(0) 推荐(0)
摘要: 如何为集群启用X-Pack Security 如何为内置用户设置密码 设置 Kibana与ElasticSearch通信鉴权 使用安全API创建对特定索引具有有限访问权限的用户 This tutorial involves a single node cluster, but if you had 阅读全文
posted @ 2020-12-27 18:16 秋华 阅读(1177) 评论(0) 推荐(0)