Help Center/ Log Tank Service/ User Guide/ Querying LTS Traces
Updated on 2026-09-23 GMT+08:00

Querying LTS Traces

Overview

CTS can record operations (traces) related to LTS for query, audit, and backtracking.

After you enable CTS, the system starts to record LTS operations. CTS stores operation records from the last seven days.

Enabling CTS

For details about how to enable CTS, see Getting Started.

After CTS is enabled, you can view LTS-related traces. For details, see Viewing CTS Traces in the Trace List.

LTS Operations That Can Be Recorded by CTS

Table 1 LTS operations that can be recorded by CTS

Operation

Resource Type

Trace Name

Deleting a consumer group

consumerGroup

deleteConsumerGroup

Creating a consumer group

consumerGroup

createConsumerGroup

Creating a log group

group

createLogGroup

Modifying a log group

group

updateLogGroup

Deleting a log group

group

deleteLogGroup

Creating a log stream

topic

createLogStream

Modifying a log stream

topic

updateLogStream

Deleting a log stream

topic

deleteLogStream

Deleting a log from favorites

filter

deleteFavorite

Deleting a log bucket

logPailSetting

deleteLogPail

Creating an OBS log transfer task

als

addLogPailToOBS

Modifying an OBS log transfer task

als

updateLogPailToOBS

Deleting an OBS log transfer task

als

deleteLogPailToOBS

Batch enabling and disabling log transfer tasks

als

batchActionLogPailToOBS

Creating a log transfer task

transfer

createLogTransfer

Modifying a log transfer task

transfer

updateLogTransfer

Deleting a log transfer task

transfer

deleteLogTransfer

Creating quick search criteria

searchCriteria

createLogSearchCriteria

Modifying quick search criteria

searchCriteria

updateLogSearchCriteria

Deleting quick search criteria

searchCriteria

deleteLogSearchCriteria

Adding a collection path

LogAgent

createLogAgent

Modifying a collection path

LogAgent

updateLogAgent

Deleting a collection path

LogAgent

deleteLogAgent

Creating a cross-account log ingestion configuration

ltsLogAccessConfig

CreateLtsLogAccessConfig

Creating a log ingestion configuration

ltsLogAccessConfig

createAccessConfig

Modifying a log ingestion configuration

ltsLogAccessConfig

updateAccessConfig

Deleting a log ingestion configuration

ltsLogAccessConfig

deleteAccessConfig

Creating a notification template

NotificationTemplate

createNotificationTemplate

Modifying a notification template

NotificationTemplate

updateNotificationTemplate

Deleting a notification template

NotificationTemplate

deleteNotificationTemplate

Creating a structuring template

structLogConfig

createLogStreamStructConfig

Modifying a structuring template

structLogConfig

updateLogStreamStructConfig

Deleting a structuring template

structLogConfig

deleteLogStreamStructConfig

Adding or updating index settings

filedIndex

createOrUpdateFiledIndex

Creating a DLI transfer task

dliDump

createDliDump

Deleting a DLI transfer task

dliDump

deleteDliDump

Modifying a host group

hostGroup

updateHostGroup

Creating a host group

hostGroup

createHostGroup

Deleting a host group

hostGroup

deleteHostGroup

Creating a quick analysis task

wordFreqConfig

updateWordFreqConfig

Configuring layout refresh settings

wordFreqConfig

updateLayoutConfig

Creating a pre-aggregate operator

aggrMeta

createAggrMeta

Deleting a quick analysis aggregator

aggrMeta

deleteAggrMeta

Saving the path configuration

path

addLogPath

Adding a statistical rule

rule

addRuleStatistics

Modifying a statistical rule

rule

updateRuleStatistics

Deleting a statistical rule

rule

deleteRuleStatistics

Creating a structuring rule

structurization

addStructurization

Deleting a structuring rule

structurization

deleteStructurization

Adding a Kafka instance

dmsKafka

registerKafkaInfo

Modifying a Kafka instance

dmsKafka

updateKafkaInfo

Deleting a Kafka instance

dmsKafka

deleteKafkaInfo

Creating a DIS transfer task

transfer

createDisTransfer

Modifying a DIS transfer task

transfer

updateDisTransfer

Deleting a DIS transfer task

transfer

deleteDisTransfer

Creating a Kafka transfer task

kafkaTransfer

createKafkaTransfer

Modifying a Kafka transfer task

kafkaTransfer

updateKafkaTransfer

Deleting a Kafka transfer task

kafkaTransfer

deleteKafkaTransfer

Creating a dashboard filter

logDashboardFilter

createLogDashboardFilter

Modifying a dashboard filter

logDashboardFilter

updateLogDashboardFilter

Deleting a dashboard filter

logDashboardFilter

deleteLogDashboardFilter

Creating a historical query task

historicalQuery

createHistoricalQuery

Creating a chart

logChart

createLogChart

Modifying a chart

logChart

updateLogChart

Deleting a chart

logChart

deleteLogChart

Creating a dashboard

logDashboard

createLogDashboard

Modifying a dashboard

logDashboard

updateLogDashboard

Deleting a dashboard

logDashboard

deleteLogDashboard

Creating a dashboard group

logDashboard

createLogDashboardGroup

Enabling log collection beyond free quota

LogCollectionSwitchOperation

LogCollectionSwitchOperation

Disabling log collection beyond free quota

LogCollectionSwitchOperation

LogCollectionSwitchOperation

Querying alarm rules in batches

alarm

batchQueryAlarmList

Modifying the status of an alarm rule

KeywordsAlarm

updateKeywordsAlarmRuleStatus

Creating a keyword alarm rule

KeywordsAlarm

createKeywordsAlarmRule

Deleting a keyword alarm rule

KeywordsAlarm

deleteKeywordsAlarmRule

Modifying a keyword alarm rule

KeywordsAlarm

updateKeywordsAlarmRule

Creating an ELB log bucket

elbPailType

createElbPail

Modifying an ELB log bucket

elbPailType

updateElbPail

Deleting an ELB log bucket

elbPailType

deleteElbPail

Adding a log path collection rule

logPathCollectionType

createLogPathCollection

Modifying a log path collection rule

logPathCollectionType

updateLogPathCollection

Deleting a log path collection rule

logPathCollectionType

deleteLogPathCollection

Clearing Redis cache

cleanTenantResourceType

deleteCleanTenantResource

Obtaining OBS preview

ltsLogAccessConfig

PreviewObsAccessConfig

Modifying a host group

ltsHostGroup

UpdateHostGroup

Deleting a host group

ltsHostGroup

DeleteHostGroup

Deleting a host from a host group

ltsHostGroup

HostGroupDeleteHosts

Adding a host to a host group

ltsHostGroup

HostGroupAddHosts

Creating a host group

ltsHostGroup

CreateHostGroup

Batch updating log access configurations

logAccessConfig

putBatchAccessConfig

Batch updating the status of log ingestion configuration

logAccessConfig

putBatchAccessConfigState

Updating configurations for log collection error diagnosis

logAccessConfig

putIcagentStatisticsConfig

Querying configurations for log collection error diagnosis

logAccessConfig

queryIcagentStatisticsConfig

Updating log ingestion configurations

ltsLogAccessConfig

putAccessConfig

Deleting log ingestion configurations

ltsLogAccessConfig

deleteAccessConfigInfo

Deleting log ingestion configurations by log group or stream ID

ltsLogAccessConfig

deleteAllAccessConfigs

Adding a host group to log ingestion configurations

ltsLogAccessConfig

LtsLogAccessConfigAddHostGroups

Deleting a host group from log ingestion configurations

ltsLogAccessConfig

LtsLogAccessConfigDeleteHostGroupsConfigs

Querying log ingestion configuration details

logAccessConfig

getAccessConfigInfo

Querying log ingestion configurations

logAccessConfig

getAllAccessConfigInfo

Previewing agency log ingestion configurations

logAccessConfig

previewAgencyLogAccess

Adding log ingestion configurations to a host group

ltsHostGroup

HostGroupAddAccessConfigs

Deleting log ingestion configurations from a host group

ltsHostGroup

HostGroupDeleteAccessConfigs

Querying log ingestion configurations that can be added

logAccessConfig

getAllCanJoinedAccessConfig

Querying the environment, application, and component information of ServiceStage

logAccessConfig

listServiceStageElementInfos

Querying log ingestion configurations

logAccessConfig

getAccessConfigList

Querying the log group or stream information of the agency

agency

getGroupAndStreamByAgency

Querying enterprise projects of the agency

agency

getEpsListByAgency

Querying a structuring template of the agency

agency

getStructTemplateByAgency

Generating smart SQL

aiops

nl2sql

Clearing SQL alarms

SqlAlarm

clearSqlAlarm

Querying the SQL alarms

alarm

listSqlAlarms

Batch updating alarm clearance notifications

ltsAlarm

updateLtsAlarmRuleTemporaryCloseList

Batch deleting alarm rules

ltsAlarm

deleteLtsAlarmRuleList

Batch updating alarm rules

ltsAlarm

updateLtsAlarmRuleList

Batch updating alarm rule functions

ltsAlarm

updateAlarmExecutionHistoryStatus

Querying message template details

alarmNoticeTemplate

getNotificationTemplate

Querying message templates

alarmNoticeTemplate

queryNotificationTemplate

Previewing a message template

alarmNoticeTemplate

previewNotificationTemplate

Querying SMN topics

alarmNoticeTemplate

getNotificationTopics

Creating an SQL alarm rule

SqlAlarmRule

createSqlAlarmRule

Deleting an SQL alarm rule

SqlAlarmRule

deleteSqlAlarmRule

Updating an SQL alarm rule

SqlAlarmRule

updateSqlAlarmRule

Querying SQL alarm rules

alarmRule

listSqlAlarmRules

Querying details about an SQL alarm rule

alarmRule

getSqlAlarmRules

Querying keyword alarms

alarmRule

listKeywordsAlarmRules

Updating the status of an SQL alarm rule

SqlAlarmRule

updateSqlAlarmRuleStatus

Updating the status of a keyword alarm rule

KeywordsAlarm

updateKeywordsAlarmRuleStatus

Querying alarm rules

alarmRule

listAlarmRules

Querying details about a keyword alarm rule

alarmRule

getKeywordsAlarmRules

Querying consumer groups of a log stream

consumerGroup

listConsumerGroup

Querying details about a consumer group of a log stream

consumerGroup

fetchConsumerGroup

Updating consumer groups of a log stream

consumerGroup

updateConsumerGroup

Sending heartbeat messages for a consumer group of a log stream

consumerGroup

consumerGroupHeartBeat

Querying all shards of a log stream

consumerGroup

getLogStreamShards

Querying the cursor by time

consumerGroup

getCursorByTime

Querying the server time by cursor

consumerGroup

getTimeByCursor

Querying dashboard filters

dashboard

queryDashboardFilter

Querying a dashboard

dashboard

getLogDashboard

Querying dashboard groups

dashboard

getLogDashboardGroup

Querying a dashboard template

dashboard

getLogDashboardTemplate

Creating a DSL log processing task

LogProcess

createLogProcessTask

Querying DSL log processing tasks

logProcess

listLogProcessTasks

Querying details about a DSL log processing task

logProcess

listLogProcessTask

Updating a DSL log processing task

LogProcess

updateLogProcessTask

Deleting a DSL log processing task

LogProcess

deleteLogProcessTask

Adding logs to favorites

favoritesOperation

createFavorite

Querying log favorites

logFavorite

queryFavorate

Updating log favorites

favoritesOperation

updateFavorite

Querying the host group information that can be added to log ingestion configurations

hostGroup

getAllCanBeAddedHostGroup

Querying the host group information in log ingestion configurations

hostGroup

getAccessConfigAllHostGroup

Querying host groups

hostGroup

getAllHostGroup

Querying the host information that can be added to a host group

hostGroup

getAllCanBeAddedAgent

Querying all the host information that can be added to a host group

hostGroup

getAllCanBeAddedAgentWithCreat

Querying hosts in a host group

hostGroup

getAgentList

Querying the log ingestion configuration of a host group

hostGroup

getAllJoinedAccessConfig

Querying the host information list

hostGroup

getAllAgent

Querying the host group information that can be added to a host

hostGroup

listCanBeAddedHostGroup

Querying the ICAgent version

hostGroup

getAllAgentVersion

Querying host groups

hostGroup

getHostGroupList

Querying the host information list

hostGroup

getHostList

Querying the log stream index configuration

logStream

getLtsIndexConfiguration

Creating a log-to-metric task

log2metricRule

createLog2metricRule

Deleting a log-to-metric task

log2metricRule

deleteLog2metricRule

Querying the log-to-metric tasks

log2MetricRule

listLog2MetricRules

Querying details about a log-to-metric task

log2MetricRule

getLog2MetricRules

Querying the DWS dump tasks

transfer

queryDwsDumpList

Creating a DWS dump task

dwsDump

createDwsDump

Deleting a DWS dump task

dwsDump

deleteDwsDump

Updating a DWS dump task

dwsDump

updateDwsDump

Querying the DWS cluster information

transfer

getDwsInfo

Creating a Kafka transfer task

kafkaTransfer

addKafkaTransfer

Querying the Kafka transfer tasks

transfer

queryKafkaTransfer

Querying information about an authorized Kafka cluster

transfer

queryKafkaAuthorize

Adding information about an authorized Kafka cluster

dmsKafka

addKafkaAuthorize

Deleting information about an authorized Kafka cluster

dmsKafka

deleteKafkaAuthorize

Batch deleting information about authorized Kafka clusters

dmsKafka

batchDeleteKafkaAuthorize

Querying Kafka transfer tasks

transfer

listKafkaInstances

Testing Kafka cluster connectivity

transfer

pingDmsKafkaInstances

Querying Kafka clusters

transfer

dmsApiListKafkaInstances

Querying topics of a Kafka cluster

transfer

dmsApiListKafkaInstanceTopics

Querying transfer tasks

transfer

listTransfers

Querying DIS cluster information

transfer

listDisStreams

Querying transfer tasks

transfer

getTransfers

Updating a transfer task

LogTransfer

updateTransfers

Batch deleting transfer tasks

LogTransfer

batchDeleteTransfers

Creating a one-time transfer task

transfer

createOneTimeDump

Querying one-time transfer tasks

transfer

queryAllOneTimeDumpTask

Querying details about a one-time transfer task

transfer

queryOneTimeDumpTask

Updating a one-time transfer task

transfer

updateOneTimeDumpTask

Deleting a one-time transfer task

transfer

deleteOneTimeDumpTask

Batch deleting one-time transfer tasks

transfer

batchDeleteOneTimeDumpTask

Obtaining log group details

logGroup

getLogGroup

Querying a log histogram

logStream

keyWordCount

Querying logs

logStream

queryContents

Querying log analysis logs

logStream

queryStructContent

Querying statistics chart logs

logStream

getSqlQueryFromDruidApig

Creating a scheduled SQL task

ScheduleSqlTask

createScheduleSqlTask

Delete a scheduled SQL task

ScheduleSqlTask

deleteScheduleSqlTask

Updating a scheduled SQL task

ScheduleSqlTask

updateScheduleSqlTask

Querying scheduled SQL tasks

logProcess

listScheduleSqls

Querying details about a scheduled SQL task

logProcess

listScheduleSqlByScheduleSqlId

Verifying the time expression of a scheduled SQL task

logProcess

validateTimeExpression

Querying information about the execution instance based on the scheduled SQL task ID

logProcess

listScheduleSqlExecutionInstances

Querying logs across streams

logStream

crossLogStreamQueryContent

Querying chart information

logChart

getLogBoards

Querying dashboard charts

logChart

getLogDashboardsCharts

Querying logs

logStream

queryContent

Querying agency logs

logStream

queryAgencyContent

Querying a log histogram

logStream

keyWordCountInfo

Querying the quick query list of log streams

quickQuery

listSearchCriterias

Querying the quick query list of log groups

quickQuery

listGroupSearchCriterias

Querying log streams

logStream

listLogStream

Query log stream details

logStream

getLogStream

Querying real-time logs

logStream

getRealtimeLog

Querying log streams

logStream

listLogStreams

Querying shard information of a log stream

logStream

listLogStreamShards

Viewing log stream details

logStream

queryLogStreams

Querying details about all log groups or streams

logStream

getAllGroupAndStreamsAndTags

Querying all log groups or streams

logStream

getAllGroupAndStreams

Querying log group or stream information of an organization member

logConverge

getMemberAllGroupAndStreams

Updating the multi-account log aggregation configurations

logConverge

updateLogAggrConfig

Obtaining the multi-account log aggregation configurations

logConverge

getLogAggrConfig

Updating the function of multi-account log aggregation configuration

logConverge

updateAdminConfig

Obtaining the function of multi-account log aggregation configuration

logConverge

getAdminConfig

Subscribing to a log resource package

logPackage

orderResourcePackage

Obtaining log resource package information

logPackage

getResourcePackageProductInfo

Querying logs

logStream

getLogFromCSSOrQuery

Querying log statistics charts

logStream

getTrinoQuickAnalysis

Querying historical SQL statements

logStream

getHistorySqlQueryStatements

Querying CSS logs

logStream

getLogFromCSS

Creating a Template

customTemplate

createCustomTemplate

Updating a custom parameter template

customTemplate

updateCustomTemplate

Deleting a custom template

customTemplate

deleteCustomTemplate

Querying custom templates

customTemplate

getAllCustomTemplate

Querying index configuration fields

structConfig

getWordFreqFields

Extracting structured configuration intelligent

structConfig

smartExtra

Querying visualized analysis logs

logStream

getSqlQueryFromDruid

Querying brief information about custom templates

structConfig

listBriefCustomTemplate

Querying top N resource statistics

trafficStatistic

getTrafficCountStatistics

Querying resource statistics in a time range

trafficStatistic

getTrafficDurationStatistics

Querying public network reporting

log

queryEipReportLogInfo

Updating public network reporting

log

updateEipReportLogInfo