检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Does LTS Delete Logs That Have Been Transferred to OBS Buckets? The log transfer function only forwards existing logs and does not delete them.
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
Deleting a Keyword Alarm Rule Function This API is used to delete a keyword alarm. Calling Method For details, see Calling APIs.
Deleting Log Ingestion Configurations Function This API is used to delete log ingestion configurations. Calling Method For details, see Calling APIs.
Deleting a Message Template Function This API is used to delete a notification template. Calling Method For details, see Calling APIs.
Deleting a SQL Alarm Rule Function This API is used to delete a SQL alarm. Calling Method For details, see Calling APIs.
Deleting a Log Group Function This API is used to delete a specified log group. If log transfer is enabled for log streams in a log group, you need to disable the log transfer before the deletion. Calling Method For details, see Calling APIs.
Deleting a Structuring Rule Function This API is used to delete a structuring rule of a log stream. Calling Method For details, see Calling APIs.
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.
Enumeration values: Invalid projectId Example Requests Deleting an ingestion rule DELETE /v2/{project_id}/lts/aom-mapping?id={id} DELETE https://{endpoint}/v2/{project_id}/lts/aom-mapping?
Deleting a Log Transfer Task Function This API is used to delete an OBS, DIS, or DMS transfer task. Calling Method For details, see Calling APIs. URI DELETE /v2/{project_id}/transfers Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
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.
Deleting a Host Group Function Delete a host group. Calling Method For details, see Calling APIs. URI DELETE /v3/{project_id}/lts/host-group Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
To delete one or more rules, select them, click Delete above the rule list, and then click Yes on the displayed page. NOTE: Before deleting an alarm action rule, you need to delete the alarm rule bound to the action rule.
to delete them.
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.
If you want to delete a log stream that is associated with a log transfer task, delete the task first. In the log stream list, locate the target log stream and click Delete in the Operation column. Enter DELETE and click OK.
If you want to delete a log group that is associated with a log transfer task, delete the task first. In the log group list on the Log Management page, locate the target log group and click Delete in the Operation column. Enter DELETE and click OK.