检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
objects 地址和端口列表。 表3 AddressAndPorts 参数 是否必选 参数类型 描述 address 是 String IP地址或域名。 port 否 Integer 端口号。 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 result
action支持base_log_collect和real_time_log_collect两种,base就是之前历史的能力,real_time为实时采集能力,默认不传就是base,兼容之前的逻辑 请求参数 无 响应参数 无 请求示例 无 响应示例 无 SDK代码示例 SDK代码示例如下。 Java Python
请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 whiteList 是 String 允许kibana公网访问的白名单ip或网段,以逗号隔开,不可重复。 响应参数 无 请求示例 修改后的白名单,即最新的白名单 POST /v1.0/6204a5bd270343
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
指定开启公网访问控制白名单集群ID。 请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 whiteList 是 String 开启白名单的用户IP。 响应参数 无 请求示例 开启公网访问控制白名单。 POST /v1.0/6204a5bd270343b5885144cf9c8c158
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
快照名称,快照名称在4位到64位之间,必须以字母开头,可以包含字母、数字、中划线或者下划线,注意字母不能大写且不能包含其他特殊字符。 description 否 String 快照描述,0~256个字符,不能包含!<>=&"'字符。 indices 否 String 指定要备份的索引名
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
arch集群在同一VPC。 将测试数据集上传到ECS上。 将数据写入和召回率测试脚本上传到ECS上,并执行如下命令。 pip install h5py pip install elasticsearch==7.10 python3 base_test_example.py 执行
isExists()); } } 其中,cluster_name为集群的名称;host1、host2为集群节点的内网IP地址,可通过GET _cat/nodes命令查看节点的IP地址。 父主题: 通过Java客户端接入Elasticsearch集群
curl -XPUT http://ip:9200/{index_name}/_settings -d '{"number_of_replicas":2}' 也可以通过在模板中指定所有索引的副本个数,如: curl -XPUT http://ip:9200/_template/templatename
python2 执行yum install python-pip安装pip。 [root@ecs opt]# yum install python-pip 执行pip install pyyaml安装yaml依赖。 执行pip install requests安装requests依赖。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
选择和Elasticsearch集群一致的VPC。 子网 选择和Elasticsearch集群一致的子网。 IP地址或域名 填写Elasticsearch集群的IP地址,获取方式请参见获取CSS集群的IP地址。 数据库用户名 填写Elasticsearch集群的管理员账户名(admin)。 数据库密码
"c131886aec...", "name": "IAMUser", "description": "IAM User Description", "areacode": "", "phone": "",
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted