Updated on 2024-10-28 GMT+08:00

API Overview

LTS extension APIs allow you to use the basic LTS functions. For example, you can query API versions, create, query, and delete log groups or log streams.

Table 1 describes the LTS APIs.

Table 1 API description

Category

Description

Host group management

APIs for creating, querying, and deleting host groups

Log group management

APIs for creating, querying, and deleting log groups

Log stream management

APIs for creating, querying, and deleting log streams

Log management

APIs for querying logs

Log ingestion

APIs for reporting logs

Log transfer

APIs for transferring logs of one or more specified log streams to other services

Log collection beyond free quota

APIs for enabling or disabling log collection beyond free quota

Cloud structuring

APIs for structuring logs, and querying, modifying, and deleting structuring rules

Container log ingestion from AOM to LTS

APIs for creating, querying, modifying, and deleting rules for ingesting container logs from AOM to LTS

SMN topics

APIs for querying SMN topics

Message template management

APIs for creating, modifying, deleting, and querying message templates

SQL alarms

APIs for creating, querying, modifying, and deleting SQL alarms

Keyword alarms

APIs for creating, querying, modifying, and deleting keyword alarms

Alarm list

APIs for querying and deleting alarms

Tag management

APIs for adding tags to log groups, log streams, and host groups

Dashboard management

API for creating dashboards

Log charts

APIs for querying log charts

Quick search

APIs for creating, querying, and deleting quick search requests