检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Detail object 解析器配置 表17 Detail 参数 参数类型 描述 source_key String 自定义时间key字段名称 regex String 正则解析正则表达式 单行完全正则,多行完全正则需填此字段 keys Array of strings 字段名称列表
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
{ "error_code" : "LTS.0208", "error_msg" : "The log stream does not existed" } 状态码: 401 AuthFailed。鉴权失败, 请确认token后再次请求 。
SELECT RPAD(str1, 50, 'testStr') WHERE str1 IS NOT NUll CONTAINS_STRING(<expr>, str) 判断expr是否包含str字符串 SELECT CONTAINS_STRING(log_level,'warn'
// The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
{ "error_code" : "LTS.2014", "error_msg" : "Failed to create struct config."
原始日志 { "time": 1562741899 } 加工规则 e_set("new_time", dt_parse(v("time"), tz="Asia/Shanghai")) 加工结果 { "new_time": "2019-07-10 14:58:19+08:00
// The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
503 Service Unavailable 系统暂时不可用,请求受限。 父主题: 附录
SELECT url AS Url, host AS Host, failure_rate AS FailureRate, CONCAT(CAST(access_count AS varchar), ' times') AS "All", CONCAT(CAST(rsp_200_count
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
// The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
{ "error_code" : "LTS.2014", "error_msg" : "Failed to create struct config." } SDK代码示例 SDK代码示例如下。
"topic": "test", "log_time":"2024-01-11 23:10:43.992847200" } 加工规则 e_set( "time", dt_parsetimestamp(v("log_time"), tz="Asia/Shanghai
platform string 选填 baidu 支持上报的平台。目前支持以下平台:baidu:百度小程序,wx:微信小程序,dd:钉钉小程序,my:支付宝小程序,quick:快应用。 group string 选填 - 日志组ID。
从文本构建 e_table_map(tab_parse_csv("city,name,age\nshanghai,baixiao,10\ncity:nanjing,Maki,18"), "name",["city", "age"]) 从OBS资源构建 e_search_table_map
tail -f /tmp/test.log 登录云日志服务控制台,在“日志管理”页面,单击日志流名称进入详情页面,在“日志搜索”页签查看到日志数据,即代表采集成功。 父主题: 日志接入
": { "name": "domainname" } } } }, "scope": {
503 ServiceUnavailable。 被请求的服务无效, 服务不可用。 错误码 请参见错误码。 父主题: 云端结构化配置