检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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.
Deleting a Message Template Function This API is used to delete a notification template. Calling Method For details, see Calling APIs.
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.
Deleting a Quick Search Function This API is used to delete a quick search. Calling Method For details, see Calling APIs.
Deleting an Active Alarm Function This API is used to delete an active alarm. Calling Method For details, see Calling APIs.
Range N/A Example Requests Deleting an ingestion rule DELETE /v2/{project_id}/lts/aom-mapping?id={id} DELETE https://{endpoint}/v2/{project_id}/lts/aom-mapping?id=3e14a212-a633-411d-a8e1-dc4042b1471a Example Responses Status code: 400 Bad Request: The request is invalid.
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?
URI DELETE /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Range N/A Example Requests Delete one or multiple host groups at a time.
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. Table 1 describes the LTS APIs.
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