检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
主题信息 sql_alarm_level String 告警级别 sql_alarm_send Boolean 是否发送 domain_id String domainId 最小长度:32 最大长度:32 create_time Long 创建时间(毫秒时间戳) 最小值:13 最大值:13
错误信息body体 表7 ErrorMessagebody 参数 参数类型 描述 code String 错误码 最小长度:8 最大长度:36 details String 错误描述 最小长度:2 最大长度:512 状态码: 500 表8 响应Body参数 参数 参数类型 描述 message
x日志过滤 processor_drop删除字段类型 processor_rename修改字段类型 detail Detail object 解析器配置 表18 Detail 参数 参数类型 描述 source_key String 自定义时间key字段名称 regex String
WHERE str1 IS NOT NUll CONTAINS_STRING(<expr>, str) 判断expr是否包含str字符串 SELECT CONTAINS_STRING(log_level,'warn') ICONTAINS_STRING(<expr>, str) 判断
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"error_msg" : "Failed to delete log group" } 状态码 状态码 描述 204 请求响应成功, 成功删除日志组。 400 BadRequest。非法请求。 建议根据error_msg直接修改该请求,不要重试该请求。 401 AuthFailed。鉴权失败,
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
x日志过滤 processor_drop删除字段类型 processor_rename修改字段类型 detail Detail object 解析器配置 表17 Detail 参数 参数类型 描述 source_key String 自定义时间key字段名称 regex String
"error_msg" : "Failed to delete Log stream" } 状态码 状态码 描述 204 请求响应成功, 成功删除日志流。 400 BadRequest。非法请求。 建议根据error_msg直接修改该请求,不要重试该请求。 401 AuthFailed。鉴权失败
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
1562741899 } 加工规则 e_set("new_time", dt_parse(v("time"), tz="Asia/Shanghai")) 加工结果 { "new_time": "2019-07-10 14:58:19+08:00", "time": 1562741899
下面的语句是根据ELB结构化日志构造出的查询语句, 它包含所有的基础查询语法, 仅供参考。 SELECT url AS Url, host AS Host, failure_rate AS FailureRate, CONCAT(CAST(access_count AS varchar), ' times') AS "All"
Requests 当前请求过多。 500 Internal Server Error 请求未完成,服务异常。 503 Service Unavailable 系统暂时不可用,请求受限。 父主题: 附录
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
加工规则 e_set( "time", dt_parsetimestamp(v("log_time"), tz="Asia/Shanghai"), mode="overwrite", ) e_set("tmp_ms", dt_prop(v("log_time"), "microsecond"))