检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Can I Manually Delete Logs? No. Manual deletion is not supported. However, logs will be automatically deleted when the retention period ends. Parent topic: Log Search and Check
Does LTS Delete Logs That Have Been Transferred to OBS Buckets? The log transfer function only forwards existing logs and does not delete them.
Does LTS Delete Logs That Have Been Transferred to OBS Buckets? No. During log transfer, logs are "replicated" to OBS buckets.
Can I Manually Delete Logs on the LTS Console? No. Manual deletion is not supported. LTS automatically deletes logs when the retention duration ends. For details about how to set the log retention duration, see Managing Log Streams. Parent topic: Log Search and Analysis
Range N/A Example Requests Delete a keyword alarm by alarm ID.
Range N/A Example Requests Delete a log ingestion configuration.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies lts:alarmNoticeTemplate:delete Write - - lts:sqlalarmrules:delete - URI DELETE /v2/{project_id}/{domain_id}/lts/events/notification/templates Table 1 Path Parameters Parameter Mandatory Type Description
Range N/A Example Requests Delete a SQL alarm rule based on its ID.
Range N/A Example Requests Delete a log group. DELETE https://{endpoint}/v2/{project_id}/groups/{log_group_id} /v2/{project_id}/groups/{log_group_id} Example Responses Status code: 400 Invalid request.
Range N/A Example Requests Delete the structuring rule of the current ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies lts:logStream:deleteQuickQuery Write logStream * - lts:searchcriterias:delete - URI DELETE /v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias Table 1 Path Parameters Parameter Mandatory
Deleting an Active Alarm Function This API is used to delete an active alarm. Calling Method For details, see Calling APIs. Authorization Information Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies lts:mappingRule:delete Write - - lts:topics:delete - URI DELETE /v2/{project_id}/lts/aom-mapping Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Range N/A Example Requests Delete a log transfer task based on its ID. DELETE https://{endpoint}/v2/{project_id}/transfers /v2/{project_id}/transfers?
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies lts:logStream:deleteLogStream Write logStream * - lts:topics:delete - URI DELETE /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id} Table 1 Path Parameters Parameter Mandatory Type Description
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies lts:hostGroup:delete Write hostGroup * - lts:topics:delete - URI DELETE /v3/{project_id}/lts/host-group Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Definition Project
Once this period ends, LTS will delete them. For example, if you set the retention period to 30 days, logs will be kept for 30 days before being deleted. You can specify the retention period when creating a log group or stream.
For example, you can query API versions, create, query, and delete log groups or log streams.
To delete a tag, click in the Operation column of the tag. A tag key can contain up to 128 characters, and a tag value can contain up to 255 characters. A tag key must be unique.
Delete struct config None lts:logIndex:delete Deleting a specified log index None lts:topics:delete Delete log topics None lts:agentSupportedOsLogPaths:list List agent supported os logs paths None lts:topics:put Put log topic None lts:agentHeartbeat:post Post agent heartbeat None