查询LTS结构化配置 无 lts:overviewLogTotal:get 查询当前用户的日志总量 无 lts:subscriptions:put 修改指定订阅 无 lts:subscriptions:list 查询订阅器列表 无 lts:datasources:delete 删除指定datasource
com/lordstar-habile/huaweicloud-lts-python-sdk.git 安装相关依赖。 pip3 install requests pip3 install loguru pip3 install six 配置参数说明 LogConsumerConfig中配置参数说明: 表1
func main() { // 获取默认配置 producerConfig := producer.GetConfig() // 上报地址 producerConfig.Endpoint = endpoint // accessKeyId:华为云账号的AK, 认证用的AK硬编
wechat-server(用于存储微信服务器访问日志) wechat-app(用于存储微信服务器应用日志) wechat-error(用于存储错误日志) alipay-server alipay-app deliver-app(用于存储送货员App状态) deliver-error(用于存储错误日志) web-c
Africa/Lusaka UTC+02:00 莫桑比克 Mozambique Africa/Maputo UTC+02:00 的黎波里 Tripoli Africa/Tripoli UTC+02:00 安曼 Amman Asia/Amman UTC+02:00 贝鲁特 Beirut Asia/Beirut
表名 schema中的表名称。 - 字段映射 将内置字段以及日志中配置的结构化字段和类型,映射到数据库字段。 内置字段有13个,分别是hostIP、 hostId、hostName、pathFile、collectTime、clusterName、clusterId、 podName
select "auditID" AS "Audit ID", "objectRef.name" AS "pod", "sourceIPs" AS "源地址", "requestReceivedTimestamp" AS "操作时间", "user.username" AS "操作账号"
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
15 新增多实例上报。 安装SDK 在快应用的根目录下通过运行“npm i lts-mini-sdk”命令,安装SDK软件包。 您可以在开源仓地址下载最新的SDK。 示例代码 const miniSDK = require('lts-mini-sdk/quick-app').default;
估算不重复的clientIp字段值,标准误差为2.3%。 表3 查询分析结果 类型 场景 查询语句 SELECT approx_distinct(clientIp) 返回结果 1 示例2:使用approx_distinct函数估算不重复的clientIp字段值, 自定义标准误差为10%。
SQL JSON函数 功能描述 JSON函数用于解析JSON对象或JSON数组,并从中提取值。 语法格式 SELECT json_extract(Results, '$.[0].EndTime') JSON函数语句 表1 JSON函数语句 语句 说明 示例 返回值类型 json_extract
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
式。 转储标签:开启后,会将日志流标签添加至转储内容。 开启 压缩格式 支持不压缩、压缩gzip、压缩zip、压缩snappy。 说明: 压缩格式支持白名单用户申请提交工单开通。 gzip 单击“确定”,完成配置。当转储任务状态为“正常”时,表示转储任务创建成功。 单击“转储对象
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
anual/mstart.sh > /dev/null 2>&1) JSON格式示例: {"host_name":"ecs-bd70","ip":"192.168.0.54","line_no":249,"message":"Sep 30 14:40:01 ecs-bd70 CRON[4363]:
提供如下转储日志场景样例,方便进行流量统计举例说明,原始日志如下: "192.168.0.1 200 190 /check" 该日志被结构化解析后为: {"ip":"192.168.0.1","status":200,"cost_time":190,"url":"/check"} 日志基础转储流量
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
云日志服务地址说明的urlencode编码结果。详细请参考云日志服务地址说明。 {logintoken} 为3获取的X-Subject-LoginToken的urlencode编码结果。 {enterprise_system_loginURL} 选填参数,为客户的页面地址的urle
您即将访问非华为云网站,请注意账号财产安全