All Products
Search
Document Center

Simple Log Service:List of operations by function

最終更新日:Feb 01, 2024

The following tables list the API operations available for use in Simple Log Service.

Projects

Operation

Description

CreateProject

Creates a project.

DeleteProject

Deletes a project.

UpdateProject

Updates a project.

GetProject

Queries the details of a project.

ListProject

Queries the projects that meet specified conditions.

GetProjectLogs

Queries logs in a project

by executing an SQL statement.

Logstores

Operation

Description

CreateLogStore

Creates a Logstore.

DeleteLogStore

Deletes a Logstore.

UpdateLogStore

Updates the attributes of a Logstore.

GetLogStore

Queries the details of a Logstore.

ListLogStores

Queries the Logstores that meet specified conditions in a project.

Logs

Operation

Description

PutLogs

Writes logs to a Logstore.

PostLogStoreLogs

Writes logs to a Logstore.

PutWebtracking

Collects multiple logs to Simple Log Service in one request.

GetLogs

Queries the logs of a Logstore.

GetHistograms

Queries the distribution of logs that meet specified search conditions in a Logstore.

GetCursor

Queries a cursor based on a point in time.

GetCursorTime

Queries the time when a cursor is created on Simple Log Service.

GetContextLogs

Queries the contextual logs of a log.

PullData

Queries logs based on specified cursors.

Machine groups

Operation

Description

CreateMachineGroup

Creates a machine group.

DeleteMachineGroup

Deletes a machine group.

UpdateMachineGroup

Updates the configurations of a machine group.

GetMachineGroup

Queries the details of a machine group.

ListMachines

Queries the machines that are connected to Simple Log Service in a machine group.

ListMachineGroup

Queries the machine groups that meet specified conditions in a project.

ApplyConfigToMachineGroup

Applies a Logtail configuration to a machine group.

RemoveConfigFromMachineGroup

Removes a Logtail configuration from a machine group.

GetAppliedConfigs

Queries the Logtail configurations that are applied to a machine group.

Logtail configurations

Operation

Description

CreateConfig

Creates a Logtail configuration.

DeleteConfig

Deletes a Logtail configuration.

UpdateConfig

Updates a Logtail configuration.

GetConfig

Queries the details of a Logtail configuration.

ListConfig

Queries the Logtail configurations that meet specified conditions in a project.

GetAppliedMachineGroups

Queries the machine groups to which a Logtail configuration is applied.

index

Operation

Description

CreateIndex

Creates indexes for a Logstore.

DeleteIndex

Deletes an index of a Logstore.

UpdateIndex

Updates the indexes of a Logstore.

GetIndex

Queries the indexes of a Logstore.

Shards

Operation

Description

ListShards

Queries shards in a Logstore.

SplitShard

Splits a shard in the read/write state.

MergeShard

Merges two adjacent shards that are in the read/write state.

Shipping

Operation

Description

GetShipperStatus

Queries the status of a log shipping job.

RetryShipperTask

Retries a failed log shipping job.

Consumer groups

Operation

Description

CreateConsumerGroup

Creates a consumer group for a Logstore.

DeleteConsumerGroup

Deletes a consumer group.

UpdateConsumerGroup

Updates the attributes of a consumer group.

GetCheckPoint

Queries the checkpoint of a shard whose data is consumed by a consumer group.

ListConsumerGroup

Queries consumer groups in a Logstore.

ConsumerGroupUpdateCheckPoint

Updates the checkpoint of a shard whose data is consumed by a consumer group.

ConsumerGroupHeartBeat

Sends a heartbeat message for a consumer to Simple Log Service.

External stores

Operation

Description

CreateExternalStore

Creates an external store.

DeleteExternalStore

Deletes an external store.

UpdateExternalStore

Updates the configurations of an external store.

GetExternalStore

Queries the details of an external store.

ListExternalStore

Queries external stores in a project.

CreateOssExternalStore

Creates an Object Storage Service (OSS) external store.

UpdateOssExternalStore

Updates an OSS external store.

CreateRdsExternalStore

Creates an ApsaraDB RDS external store.

UpdateRdsExternalStore

Updates an ApsaraDB RDS external store.

Saved searches

Operation

Description

CreateSavedSearch

Creates a saved search.

DeleteSavedSearch

Deletes a saved search.

UpdateSavedSearch

Updates a saved search.

GetSavedSearch

Queries a saved search.

ListSavedSearch

Queries saved searches in a project.

Dashboards

Operation

Description

CreateDashboard

Creates a dashboard.

DeleteDashboard

Deletes a dashboard.

UpdateDashboard

Updates the configurations of a dashboard.

GetDashboard

Queries the details of a dashboard.

ListDashboard

Queries dashboards in a project.

Tags

Operation

Description

ListTagResources

Queries the tags of resources.

TagResources

Creates and adds tags to resources. You can add tags only to projects.

UntagResources

Removes tags from resources.

Resource groups

Operation

Description

ChangeResourceGroup

Modifies the resource group to which a resource belongs.

Policies

Operation

Description

PutProjectPolicy

Creates a project policy.

DeleteProjectPolicy

Deletes a project policy.

GetProjectPolicy

Queries a project policy.