All Products
Search
Document Center

Simple Log Service:List of operations by function

最終更新日:Jun 12, 2025
This product(Sls/2020-12-30) OpenAPI adopts ROA Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Project

APITitleDescription
CreateProjectCreateProjectCreates a project.
CreateDomainCreateDomainBinds a new custom domain name to a project.
CreateLoggingCreateLoggingEnables the service log feature for a project.
DeleteProjectDeleteProjectDeletes a project.
DeleteDomainDeleteDomainDeletes a custom domain name that is bound to a project.
UpdateProjectUpdateProjectUpdates a project.
UpdateLoggingUpdateLoggingUpdates the service log configurations of a project.
GetProjectGetProjectQueries the details of a project.
ListProjectListProjectQueries the projects that meet specified conditions.
GetProjectLogsGetProjectLogsQueries logs in a project. You can use this operation to query logs at the project level.
GetLoggingGetLoggingQueries the service log configuration of a project.
ListDomainsListDomainsQueries the custom domain names that are bound to projects.

Logstore

APITitleDescription
CreateLogStoreCreateLogStoreCreates a Logstore.
CreateIndexCreateIndexCreates indexes for a Logstore.
DeleteLogStoreDeleteLogStoreDeletes a Logstore, including all shards and indexes in the Logstore.
DeleteIndexDeleteIndexDeletes an index of a Logstore.
PutWebtrackingPutWebtrackingSends multiple logs to Simple Log Service in one request.
UpdateLogStoreUpdateLogStoreUpdates the attributes of a Logstore.
UpdateIndexUpdateIndexUpdates the indexes of a Logstore.
SplitShardSplitShardSplits a shard in the readwrite state.
UpdateLogStoreMeteringModeUpdateLogStoreMeteringModeChanges the billing mode of a Logstore.
ListLogStoresListLogStoresQueries all Logstores or Logstores that match specific conditions in a project.
GetLogStoreGetLogStoreQueries the details of a Logstore.
GetIndexGetIndexQueries the index of a Logstore.
ListShardsListShardsQueries a list of shards in a Logstore.
GetLogsGetLogsQueries the logs of a Logstore in a project.
UpdateLogStoreEncryptionUpdateLogStoreEncryptionUpdates the encryption configuration of a Logstore. You can create encryption configurations for the Logstore and enable or disable the encryption feature.
GetCursorGetCursorQueries a cursor based on a point in time.
GetContextLogsGetContextLogsQueries the contextual logs of a specified log.
GetHistogramsGetHistogramsQueries the distribution of logs that meet the specified search conditions in a Logstore.
GetCursorTimeGetCursorTimeQueries the server time of a cursor.
GetLogsV2GetLogsV2Queries the raw log data in a Logstore of a project. The returned result contains the raw log data within a specific time range. The returned result is compressed before transmission.
PullLogsPullLogsQueries logs based on the specified cursors. You can call this operation to obtain raw logs. To query and analyze logs, you can call the GetLogsV2 operation.
PutLogsPutLogsWrites logs to a Logstore.
GetLogStoreMeteringModeGetLogStoreMeteringModeQueries the billing mode of a Logstore.

MetricStore

APITitleDescription
ListMetricStoresListMetricStoresQueries the list of Metricstores in a project. You can use fuzzy search to query the Metricstores by Metricstore name.
CreateMetricStoreCreateMetricStoreCreates a Metricstore to store metric data.
DeleteMetricStoreDeleteMetricStoreDeletes an existing Metricstore. When you delete a Metricstore, the metric data stored in the Metricstore and associated resources such as associated collection settings and transformation settings are also deleted.
UpdateMetricStoreUpdateMetricStoreUpdates the settings of an existing Metricstore. Metricstores are used to store metric data.
UpdateMetricStoreMeteringModeUpdateMetricStoreMeteringModeUpdates the billing mode of a Metricstore.
GetMetricStoreGetMetricStoreQueries a Metricstore.
GetMetricStoreMeteringModeGetMetricStoreMeteringModeQueries the billing mode of a Metricstore.

StoreView

APITitleDescription
CreateStoreViewCreateStoreViewCreates a dataset.
DeleteStoreViewDeleteStoreViewDeletes a dataset by using the name of the dataset.
UpdateStoreViewUpdateStoreViewUpdates the configurations of a dataset.
GetStoreViewGetStoreViewQueries the configurations of a dataset by using the name of the dataset.
GetStoreViewIndexGetStoreViewIndexQueries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
ListStoreViewsListStoreViewsQueries datasets in a project.

Machine Group

APITitleDescription
CreateMachineGroupCreateMachineGroupCreates a machine group.
DeleteMachineGroupDeleteMachineGroupDeletes a machine group. If the Logtail configurations for log collection are applied to a machine group, the configurations are disassociated from the machine group after the machine group is deleted.
RemoveConfigFromMachineGroupRemoveConfigFromMachineGroupRemoves a Logtail configuration from a machine group.
ApplyConfigToMachineGroupApplyConfigToMachineGroupApplies a Logtail configuration to a machine group.
UpdateMachineGroupUpdateMachineGroupModifies the configuration of a machine group.
UpdateMachineGroupMachineUpdateMachineGroupMachineModifies the machines in a machine group. You can add machine to or remove machines from the machine group.
ListMachineGroupListMachineGroupQueries the machine groups of a project.
ListMachinesListMachinesQueries a list of machines that are connected to Simple Log Service in a specified machine group.
GetMachineGroupGetMachineGroupQueries the details of a machine group.
GetAppliedConfigsGetAppliedConfigsQueries the Logtail configurations that are applied to a machine group.
GetAppliedMachineGroupsGetAppliedMachineGroupsQueries the machine groups to which a Logtail configuration is bound.

Logtail Configuration

APITitleDescription
CreateConfigCreateConfigCreates a Logtail configuration.
CreateLogtailPipelineConfigCreateLogtailPipelineConfigCreates a Logtail pipeline configuration.
DeleteConfigDeleteConfigDeletes a Logtail configuration.
DeleteLogtailPipelineConfigDeleteLogtailPipelineConfigDeletes a Logtail pipeline configuration.
UpdateConfigUpdateConfigModifies a Logtail configuration.
UpdateLogtailPipelineConfigUpdateLogtailPipelineConfigUpdates a Logtail pipeline configuration.
GetConfigGetConfigQueries the details of a Logtail configuration.
ListConfigListConfigQueries all Logtail configurations in a project.
GetLogtailPipelineConfigGetLogtailPipelineConfigQueries the information about a Logtail pipeline configuration.
ListLogtailPipelineConfigListLogtailPipelineConfigQueries a list of Logtail pipeline configurations that meet the specified conditions.

Dashboard

APITitleDescription
CreateDashboardCreateDashboardCreates a dashboard.
DeleteDashboardDeleteDashboardDeletes a dashboard.
UpdateDashboardUpdateDashboardUpdates a dashboard.
GetDashboardGetDashboardQueries a dashboard.
ListDashboardListDashboardQueries a list of dashboards.

Consumer Group

APITitleDescription
CreateConsumerGroupCreateConsumerGroupCreates a consumer group for a Logstore.
DeleteConsumerGroupDeleteConsumerGroupDeletes a consumer group.
ConsumerGroupUpdateCheckPointConsumerGroupUpdateCheckPointUpdates the checkpoint of a shard for a consumer group.
UpdateConsumerGroupUpdateConsumerGroupUpdates the attributes of a consumer group.
ConsumerGroupHeartBeatConsumerGroupHeartBeatSends heartbeats to a server from a consumer.
ListConsumerGroupListConsumerGroupQueries all consumer groups of a Logstore.
GetCheckPointGetCheckPointQueries the checkpoints of a shard from which data is consumed by a consumer group.

Saved Search

APITitleDescription
CreateSavedSearchCreateSavedSearchCreates a saved search.
DeleteSavedSearchDeleteSavedSearchDeletes a saved search.
UpdateSavedSearchUpdateSavedSearchUpdates a saved search.
ListSavedSearchListSavedSearchQueries a list of saved searches.
GetSavedSearchGetSavedSearchQueries a saved search.

Alerting

APITitleDescription
CreateAlertCreateAlertCreates an alert rule in a project.
DeleteAlertDeleteAlertDeletes an alert rule.
UpdateAlertUpdateAlertUpdates an alert rule.
EnableAlertEnableAlertEnables an alert rule.
DisableAlertDisableAlertDisables an alert rule.
GetAlertGetAlertQueries the information about an alert rule.
ListAlertsListAlertsQueries a list of alert rules in a project.

Data Import

APITitleDescription
CreateOSSIngestionCreateOSSIngestionCreates an Object Storage Service (OSS) data import job in a project.
UpdateOSSIngestionUpdateOSSIngestionUpdates an Object Storage Service (OSS) data import job.
ListOSSIngestionsListOSSIngestionsQueries a list of Object Storage Service (OSS) data import jobs in a project.

Log Export

APITitleDescription
CreateOSSExportCreateOSSExportShips logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.
CreateOSSHDFSExportCreateOSSHDFSExportCreates an OSS-HDFS data shipping job in a project.
DeleteOSSHDFSExportDeleteOSSHDFSExportDeletes an OSS-HDFS data shipping job.
UpdateOSSExportUpdateOSSExportUpdates an Object Storage Service (OSS) data shipping job.
StartOSSExportStartOSSExportStarts an Object Storage Service (OSS) data shipping job.
StopOSSExportStopOSSExportStops an Object Storage Service (OSS) data shipping job.
GetOSSExportGetOSSExportQueries the information about an Object Storage Service (OSS) data shipping job.
UpdateOSSHDFSExportUpdateOSSHDFSExportUpdates an OSS-HDFS data shipping job.
StartOSSHDFSExportStartOSSHDFSExportStarts an OSS-HDFS data shipping job.
StopOSSHDFSExportStopOSSHDFSExportStops an OSS-HDFS data shipping job.
GetOSSHDFSExportGetOSSHDFSExportQueries the information about an OSS-HDFS data shipping job.

Data Transformation

APITitleDescription
CreateETLCreateETLCreates a data transformation job in a project.
ListETLsListETLsQueries a list of data transformation jobs in a project.

Scheduled SQL

APITitleDescription
DeleteScheduledSQLDeleteScheduledSQLDeletes a Scheduled SQL job.
EnableScheduledSQLEnableScheduledSQLEnables the Scheduled SQL feature.
DisableScheduledSQLDisableScheduledSQLDisables the Scheduled SQL feature.
ListScheduledSQLsListScheduledSQLsQueries a list of Scheduled SQL jobs in a project.
GetScheduledSQLGetScheduledSQLQueries the information about a Scheduled SQL job.

Ingest processor

APITitleDescription
PutIngestProcessorPutIngestProcessorCreates or modifies an ingest processor.
GetIngestProcessorGetIngestProcessorQueries an ingest processor.
ListIngestProcessorsListIngestProcessorsQueries a list of ingest processors that meet specific conditions.
DeleteIngestProcessorDeleteIngestProcessorDeletes an ingest processor.
UpdateLogStoreProcessorUpdateLogStoreProcessorModifies the ingest processor that is associated with a Logstore.
UpdateMetricStoreProcessorUpdateMetricStoreProcessorUpdates the ingest processor that is associated with a Metricstore.

Machine Learning

APITitleDescription
PutAnnotationDataPutAnnotationDataAdds data to a dataset for storage.
CreateAnnotationDataSetCreateAnnotationDataSetCreates a dataset.
DeleteAnnotationLabelDeleteAnnotationLabelDeletes a tag table.
DeleteAnnotationDataDeleteAnnotationDataRemoves data from a dataset.
DeleteAnnotationDataSetDeleteAnnotationDataSetDeletes a dataset.
UpdateAnnotationLabelUpdateAnnotationLabelUpdates a tag table.
UpdateAnnotationDataSetUpdateAnnotationDataSetUpdates a dataset.
GetAnnotationLabelGetAnnotationLabelQueries a tag table by using a label ID.
ListAnnotationLabelsListAnnotationLabelsQueries a list of tag tables.
GetAnnotationDataGetAnnotationDataQueries data in datasets based on the unique identifier of the data.
ListAnnotationDataListAnnotationDataQueries data in datasets.
GetAnnotationDataSetGetAnnotationDataSetQueries a dataset.
ListAnnotationDataSetsListAnnotationDataSetsQueries a list of datasets.
GetMLServiceResultsGetMLServiceResultsSimple Log Service provides intelligent analysis capabilities that can be used to analyze basic data such as logs, metrics, and traces. You can call the GetMLServiceResults operation to obtain the analysis results of a model. You can call the operation in the following scenarios: Named Entity Recognition (NER) tasks on logs, anomaly detection on time series, and root cause analysis on high-latency traces.

Resource

APITitleDescription
TagResourcesTagResourcesCreates and adds tags to a resource. You can add tags only to projects.
UntagResourcesUntagResourcesDetaches one or more tags from a resource. You can detach tags only from Simple Log Service projects. You can detach multiple or all tags from a Simple Log Service project at a time.
ListTagResourcesListTagResourcesQueries a list of tags for one or more resources. You can query tags for resources by resource type or filter resources by tag. Each tag is a key-value pair.

Authorization Policy

APITitleDescription
PutProjectPolicyPutProjectPolicyCreates a project policy.
DeleteProjectPolicyDeleteProjectPolicyDeletes a project policy.
GetProjectPolicyGetProjectPolicyQueries a project policy.

Resource Group

APITitleDescription
ChangeResourceGroupChangeResourceGroupChanges the resource group to which a resource belongs.

Collection Rules Of Cloud Services

APITitleDescription
UpsertCollectionPolicyUpsertCollectionPolicyCreates a log collection policy for a cloud service. This way, logs can be automatically collected from the service.
DeleteCollectionPolicyDeleteCollectionPolicyDeletes a log collection policy from a cloud service.

Dedicated SQL Instance

APITitleDescription
CreateSqlInstanceCreateSqlInstanceIf you use the Standard SQL feature to analyze a large amount of data, the logs within the specified time range cannot be fully scanned in a single query request. In this case, the returned results may not contain all matched data. You can increase the number of shards to improve data read and write capabilities. However, this method takes effect only for incremental data. You can enable the Dedicated SQL feature to increase computing resources and the amount of data that can be analyzed in a single query request.

Service Opening

APITitleDescription
GetSlsServiceGetSlsServiceQueries the activation status of Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region.

Embed Console Pages

APITitleDescription
CreateTicketCreateTicketObtains a ticket. Simple Log Service allows you to share the query and analysis pages and dashboard pages with other users and embed the console pages into third-party systems. This way, other users can view your logs in password-free mode. The URLs of the shared pages are referred to as password-free URLs. You can call the CreateTicket operation to obtain a ticket and generate a password-free URL based on the ticket and the URL of the console page that you want to share.
RefreshTokenRefreshTokenRefreshes an access token by using a ticket to access the Simple Log Service console.

Others

APITitleDescription
DescribeRegionsDescribeRegionsQueries supported regions.
DescribeRegionsDescribeRegions
GetMaxComputeExportGetMaxComputeExportQueries a MaxCompute data shipping job.
CreateMaxComputeExportCreateMaxComputeExportCreates a MaxCompute data shipping job.
DeleteMaxComputeExportDeleteMaxComputeExportDeletes a MaxCompute data shipping job.
ListMaxComputeExportsListMaxComputeExportsQueries a list of MaxCompute data shipping jobs.
StartMaxComputeExportStartMaxComputeExportStarts a MaxCompute data shipping job.
StopMaxComputeExportStopMaxComputeExportStops a MaxCompute data shipping job.
UpdateMaxComputeExportUpdateMaxComputeExportUpdates a MaxCompute data shipping job.