检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
current_count String 本页返回条目数量 最小长度:0 最大长度:1000 请求示例 查询活动或历史告警列表 POST https://{endpoint}/v2/{project_id}/{domain_id}/lts/alarms/sql-alarm/query
error_code String 错误码。 error_msg String 调用失败响应信息描述。 请求示例 查询结构化日志 POST https://{endpoint}/v2/{project_id}/streams/{log_stream_id}/struct-content/query
是 Integer 转储周期的长度 period_unit 是 String 转储周期的单位。> period与period_unit拼接后必须在该列表中["2min","5min","30min","1hour","3hour","6hour","12hour"] 最小长度:3
时,请删除不需要的消息模板后重新创建。 编辑消息模板 在消息模板列表中,单击消息模板名称行后的“修改”,根据表1进行修改,其中“模板名称”不可修改。内置消息模板不支持编辑。 编辑完成后,单击“确定”。 复制消息模板 在消息模板列表中,单击消息模板名称行后的“复制”,修改消息模板的模板名称。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
调用失败响应信息描述。 状态码: 503 表12 响应Body参数 参数 参数类型 描述 - String 请求示例 修改VPC方式的结构化配置。 PUT https://{endpoint}/v2/{project_id}/lts/struct/template { "content" : "1
337 示例3:给网址添加HTTPS头。 测试数据 { "host": "xx.com" } 加工规则 e_set("website", op_add("https://", v("host"))) 加工结果 host: xx.com website: https://xx.com op_max
deployments_prefix 否 String 日志流前缀。当参数isBatch=true且填写此参数时,则与参数“deployments”拼接为日志流名称,拼接后的日志流名称长度不超过64位。 deployments 是 Array of strings 工作负载(选全部工作负载使用“ALL_DEPLOYMENTS”)。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
错误码。 最小长度:8 最大长度:8 error_msg String 调用失败响应信息描述。 请求示例 查询当前结构化模板详情 GET https://{endpoint}/v3/{project_id}/lts/struct/customtemplate?id=bc8e3f2c-
error_code String 错误码。 error_msg String 调用失败响应信息描述。 请求示例 创建SQL告警规则 POST https://{endpoint}/v2/{project_id}/lts/alarms/sql-alarm-rule { "sql_alarm_rule_name"
最小长度:8 最大长度:36 details String 错误描述 最小长度:2 最大长度:512 请求示例 新建跨账号日志接入 POST https://{endpoint}//v2.0/{project_id}/lts/createAgencyAccess { "preview_agency_list"
error_code String 错误码。 error_msg String 调用失败响应信息描述。 请求示例 创建关键词告警规则 POST https://{endpoint}/v2/{project_id}/lts/alarms/keywords-alarm-rule { "
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
日志关键词告警和SQL告警 ☆☆☆☆☆ ☆ ELK:没有日志告警功能。 LTS:提供准实时的日志关键词和SQL告警功能。 告警通知渠道(邮件、短信、HTTPS等) ☆☆☆☆☆ ☆ ELK:无法将告警方便地以钉钉、微信、短信等方式通知用户。 LTS:对接华为云消息通知服务,能以邮件、短信、微信、
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());