检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ik_max_word”为例。 PUT /book { "settings": { "number_of_shards": 2, "number_of_replicas": 1 }, "mappings": {
ik_max_word”为例。 PUT /book { "settings": { "number_of_shards": 2, "number_of_replicas": 1 }, "mappings": {
Only”避免数字重置后出现负数。 当需要区分不同索引的情况时,则将“Group by”设置为“Terms”,“By”设置为“index_stats.index”,最终得到的聚合结果将按照索引名称区分。 当需要查看不同时间段的数据时,则需要将时间聚合间隔设置好,否则将导致数据显示不完整。在“Panel opt
"index": { "refresh_interval": "30s", "number_of_shards": "3", "number_of_replicas": "1", "routing.allocation
"data*", "settings": { "number_of_replicas": 5, "number_of_shards": 1, "opendistro.index_state_management.policy_id": "hot_warm_policy"
在“集群管理 > OpenSearch”页面选择需要登录的集群,单击操作列中的“Kibana”登录OpenSearch Dashboards。 在Dashboards页面,选择左侧导航栏的“菜单 > Alerting”。 新建一个SMN目的端用于发送告警消息。 在“Alerting”页面选
集群的访问方式 访问方式 适用场景 相关文档 OpenSearch Dashboards(推荐方式) 图形化操作与展示。 监控实例。 管理数据。 不限制访问语言。 通过OpenSearch Dashboards登录OpenSearch集群 Cerebro 通过Cerebro登录OpenSearch集群
xxx/xxx/.../xxxPlugin at ...”,可能是插件不兼容导致集群不可用。 如果集群的健康状态为红色和且“unassigned shards”不为0,表示集群存在无法分配的索引分片,是分片未正常分配导致集群不可用。 如果集群进行备份恢复或集群迁移操作后,出现的不可用现象,可能是数据类型不兼容导致集群不可用。
页面。 查看cpu和heap指标,如果这两个指标过高则说明集群当前压力较大,客户端可以适当减少大请求发送,等待集群压力下降。 查看shards是否合理,官方建议单个shard大小为20-40GB,建议不要超过50GB;单个节点上的同一索引shard数不要超过5个。 方法2:Kibana工具
"636b6718-b8ae-4eb9-bf70-5fed8aa52181", "status" : "available", "fileLocation" : "/rds/datastore/logstash/vx.xx.xx/package/logstash-x.xx.xx/extend/custom_certs/"
"test*", "settings": { "number_of_replicas": 1, "number_of_shards": 1, "index.opendistro.index_state_management.rollover_alias": "log_alias"
shard在各节点上分配不均的问题。为避免这类问题,可以通过设置索引级别的参数“routing.allocation.total_shards_per_node”控制索引分片在各节点的分布情况。此参数可以在索引模板中配置,也可以修改已有索引的setting生效。 修改已有索引的setting的命令如下:
"test*", "settings": { "number_of_replicas": 1, "number_of_shards": 1, "opendistro.index_state_management.policy_id": "rollover_workflow"
"css_obs_agency", "logBasePath" : "css/log", "logBucket" : "000-words" } 开启日志实时采集功能。 POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/
"css_obs_agency", "logBasePath" : "css/log", "logBucket" : "000-words" } 更新日志实时采集配置 POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4
"vector": True }, "number_of_shards": shards, "number_of_replicas": replicas, },
返回结果如下所示,按照总分由高到低的顺序排列查询结果。 { "took" : 4, "timed_out" : false, "_shards" : { "total" : 1, "successful" : 1, "skipped" : 0, "failed"
"certsRecords" : [ { "id" : "2630b1ab-47f8-445c-a4e0-5de74683d767", "status" : "available", "fileLocation" : "/rds/datastore/logstash/v7
"vector": "true", # 开启向量特性 "number_of_shards": 1, # 索引分片数,根据实际需求设置 "number_of_replicas": 0, # 索引副本数,根据实际需求设置
"vector": "true", # 开启向量特性 "number_of_shards": 1, # 索引分片数,根据实际需求设置 "number_of_replicas": 0, # 索引副本数,根据实际需求设置