API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (Sls/2020-12-30) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Project
|
API |
Title |
Description |
| CreateProject | Create a project | Creates a project. |
| DeleteProject | Delete a specified project | Deletes a specified project. |
| GetProject | Retrieve a specified project | Queries the details of the specified project. |
| ListProject | List project information | Lists the projects that meet the specified conditions. |
| UpdateProject | UpdateProject | Updates project information. |
| GetProjectLogs | Retrieve logs in a specified project | Queries logs in a specified project. This operation is a project-level SQL query operation. |
Logstore
|
API |
Title |
Description |
| CreateLogStore | Create a logstore | Creates a Logstore. |
| CreateIndex | Create an index | Creates an index for a specified Logstore. |
| DeleteLogStore | Delete a logstore | Deletes a specified Logstore, including all shard data and indexes. |
| DeleteIndex | DeleteIndex | Deletes an index of a Logstore. |
| PutWebtracking | Write multiple log entries in batches by using web tracking | Writes multiple log entries in a single request by using Web Tracking. |
| UpdateLogStore | Update a logstore | Updates the attributes of a Logstore. |
| UpdateIndex | Update index | Updates the index information of a Logstore. |
| SplitShard | SplitShard | Splits a shard in the readwrite state. |
| UpdateLogStoreMeteringMode | Update the metering mode of a logstore | Updates the metering mode of a Logstore. |
| MergeShard | MergeShard | Merges adjacent read/write shards. |
| ListLogStores | ListLogStores | Queries all Logstores or Logstores that match specific conditions in a project. |
| GetLogStore | View logstore information | Queries the details of a Logstore. |
| GetIndex | Retrieve index | Queries the index configurations of a specified Logstore. |
| ListShards | ListShards | Queries a list of shards in a Logstore. |
| GetLogs | Query logs in a logstore | Queries log data in a specified Logstore of a specified project. This operation is deprecated. Use the GetLogsV2 operation instead. |
| UpdateLogStoreEncryption | Update encryption configuration | Updates the encryption configuration of a Logstore. You can create an encryption configuration for a Logstore, or enable or disable log encryption. |
| GetCursor | Query cursor by time | Retrieves the cursor corresponding to a specified time. |
| GetContextLogs | GetContextLogs | Queries the contextual logs of a specified log. |
| GetHistograms | Query log distribution | Queries the distribution of logs that meet the query syntax conditions in a specified Logstore. |
| GetCursorTime | GetCursorTime | Retrieves the server time that corresponds to a cursor. |
| GetLogsV2 | Query log data in a logstore | Queries the raw log data in a specified Logstore of a project and returns the raw logs within a specified time range. The response is compressed during transmission. |
| PullLogs | Pull logs | Retrieves log data at a specified cursor position by calling the PullLogs operation. This operation retrieves raw logs. To query or analyze logs, use the GetLogsV2 operation. |
| PutLogs | Write logs | Writes log data to a specified Logstore. |
| GetLogStoreMeteringMode | GetLogStoreMeteringMode | Queries the billing mode of a Logstore. |
| SubmitAsyncSql | SubmitAsyncSql | Submits an asynchronous SQL request. |
| GetAsyncSql | GetAsyncSql | Retrieves the status and results of an asynchronous SQL query. |
Metricstore
|
API |
Title |
Description |
| ListMetricStores | ListMetricStores | Queries the list of Metricstores in a project. You can use fuzzy search to query the Metricstores by Metricstore name. |
| CreateMetricStore | Create a metricstore | Creates a Metricstore to store time series data. |
| DeleteMetricStore | DeleteMetricStore | Deletes 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. |
| UpdateMetricStore | Update a metricstore | Updates the configurations of an existing Metricstore. A Metricstore is used to store time series data. |
| UpdateMetricStoreMeteringMode | Update the billing method of a metricstore | Updates the billing method of a specified Metricstore. |
| GetMetricStore | Query a metricstore | Queries a Metricstore. |
| GetMetricStoreMeteringMode | Query the billing method of a metricstore | Queries the current billing method of a specified Metricstore. |
Storeview
|
API |
Title |
Description |
| CreateStoreView | Create a storeview | Creates a storeview. |
| DeleteStoreView | Delete a storeview | Deletes a specified storeview by name. |
| UpdateStoreView | Update storeview configuration | Updates the configuration of a specified storeview. |
| GetStoreView | Query a specified storeview | Queries the configuration of a specified storeview by name. |
| GetStoreViewIndex | Query the index configuration of a specified storeview | Queries the indexes of a storeview by name. Only storeviews of the Logstore type are supported. |
| ListStoreViews | Query storeview list | Queries the list of storeviews in a project. |
Machine group
|
API |
Title |
Description |
| CreateMachineGroup | Create a machine group | Creates a machine group. |
| DeleteMachineGroup | Delete a machine group | Deletes a machine group. If a Logtail collection configuration is applied to the machine group, the corresponding Logtail configuration is disassociated after the machine group is deleted. |
| RemoveConfigFromMachineGroup | RemoveConfigFromMachineGroup | Removes a Logtail configuration from a machine group. |
| ApplyConfigToMachineGroup | ApplyConfigToMachineGroup | Applies a Logtail configuration to a machine group. |
| UpdateMachineGroup | Update a machine group | Modifies the configurations of a machine group. |
| UpdateMachineGroupMachine | Modify the machine list in a machine group | Modifies the machine list in a machine group by adding or removing machines. |
| ListMachineGroup | ListMachineGroup | Queries the machine groups of a project. |
| ListMachines | List machines in a machine group | Lists the machines that are connected to Simple Log Service in a specified machine group. |
| GetMachineGroup | GetMachineGroup | Gets the details of a machine group. |
| GetAppliedConfigs | GetAppliedConfigs | Queries the Logtail configurations that are applied to a machine group. |
| GetAppliedMachineGroups | GetAppliedMachineGroups | Queries the machine groups to which a Logtail configuration is bound. |
Collection configuration
|
API |
Title |
Description |
| CreateConfig | CreateConfig | Creates a Logtail configuration. |
| CreateLogtailPipelineConfig | Create a logtail pipeline configuration | Creates a Logtail pipeline configuration. |
| DeleteConfig | DeleteConfig | Deletes a Logtail configuration. |
| DeleteLogtailPipelineConfig | DeleteLogtailPipelineConfig | Deletes a Logtail pipeline configuration. |
| UpdateConfig | UpdateConfig | Modifies a Logtail configuration. |
| UpdateLogtailPipelineConfig | Update logtail pipeline configuration | Updates the Logtail pipeline configuration. |
| GetConfig | Retrieve Logtail configuration | Retrieves the details of a Logtail configuration. |
| ListConfig | ListConfig | Queries all Logtail configurations in a project. |
| GetLogtailPipelineConfig | Retrieve a logtail pipeline configuration | Retrieves a Logtail pipeline configuration. |
| ListLogtailPipelineConfig | List logtail pipeline configurations | Lists the names of Logtail pipeline configurations that meet specified conditions. |
Dashboard
|
API |
Title |
Description |
| CreateDashboard | CreateDashboard | Creates a dashboard. |
| DeleteDashboard | DeleteDashboard | Deletes a dashboard. |
| UpdateDashboard | Update a dashboard | Updates a dashboard. |
| GetDashboard | GetDashboard | Queries a dashboard. |
| ListDashboard | Query dashboards | Queries dashboards. |
Consumer group
|
API |
Title |
Description |
| CreateConsumerGroup | CreateConsumerGroup | Creates a consumer group for a Logstore. |
| DeleteConsumerGroup | DeleteConsumerGroup | Deletes a consumer group. |
| ConsumerGroupUpdateCheckPoint | ConsumerGroupUpdateCheckPoint | Updates the checkpoint of a shard for a consumer group. |
| UpdateConsumerGroup | UpdateConsumerGroup | Updates the attributes of a consumer group. |
| ConsumerGroupHeartBeat | Send a consumer heartbeat to the server | Sends a consumer heartbeat to the server. |
| ListConsumerGroup | List consumer groups | Queries all consumer groups of a specified Logstore. |
| GetCheckPoint | GetCheckPoint | Queries the checkpoints of a shard from which data is consumed by a consumer group. |
Saved search
|
API |
Title |
Description |
| CreateSavedSearch | CreateSavedSearch | Creates a saved search. |
| DeleteSavedSearch | DeleteSavedSearch | Deletes a saved search. |
| UpdateSavedSearch | UpdateSavedSearch | Updates a saved search. |
| ListSavedSearch | ListSavedSearch | Queries a list of saved searches. |
| GetSavedSearch | GetSavedSearch | Queries a saved search. |
Alerting
|
API |
Title |
Description |
| ListAlerts | List alert rules | Lists the alert rules in a specified project. |
| CreateAlert | Create an alert rule | Creates an alert rule in a specified project. |
| DeleteAlert | DeleteAlert | Deletes an alert rule. |
| UpdateAlert | UpdateAlert | Updates an alert rule. |
| EnableAlert | EnableAlert | Enables an alert rule. |
| DisableAlert | DisableAlert | Disables an alert rule. |
| GetAlert | Retrieve alert rule | Retrieves a specified alert rule. |
Data import
|
API |
Title |
Description |
| GCS import | GCS import | |
| UpdateGCSIngestion | Update a GCS ingestion job | Updates a GCP Cloud Storage file ingestion job. |
| StopGCSIngestion | Stop GCS ingestion task | Stops a GCP Cloud Storage file ingestion task. |
| StartGCSIngestion | Start GCS import job | Starts a GCP Cloud Storage file import job. |
| ListGCSIngestions | List GCS import tasks | Lists GCP Cloud Storage file import tasks. |
| GetGCSIngestion | Retrieve a GCS import task | Retrieves a GCP Cloud Storage file import task. |
| CreateGCSIngestion | Create a GCS import task | Creates a GCP Cloud Storage file import task. |
| Elasticsearch import | Elasticsearch import | |
| UpdateElasticsearchIngestion | UpdateElasticsearchIngestion | Updates an ES or OpenSearch ingestion task. |
| StopElasticsearchIngestion | StopElasticsearchIngestion | Stops an ES or OpenSearch import job. |
| StartElasticsearchIngestion | StartElasticsearchIngestion | Starts an ES or OpenSearch ingestion task. |
| CreateElasticsearchIngestion | CreateElasticsearchIngestion | Creates an ES or OpenSearch import job. |
| ListElasticsearchIngestions | List eS/OpenSearch import tasks | Lists ES/OpenSearch import tasks. |
| GetElasticsearchIngestion | Retrieve an eS/OpenSearch import task | Retrieves an ES/OpenSearch import task. |
| DeleteElasticsearchIngestion | Delete an elasticsearch or openSearch import task | Deletes an Elasticsearch or OpenSearch import task. |
| S3 import | S3 import | |
| CreateS3Ingestion | Create an S3 import job | Creates an S3 file import job. |
| ListS3Ingestions | List OSS import tasks | Lists S3 import tasks. |
| GetS3Ingestion | Retrieve an S3 import task | Retrieves the S3 import task information. |
| DeleteS3Ingestion | Delete an S3 import task | Deletes an S3 import task. |
| Kafka import | Kafka import | |
| DeleteKafkaIngestion | Delete a kafka import task | Deletes a Kafka import task. |
| CreateKafkaIngestion | Create a kafka import task | Creates a Kafka import task. |
| Azure blob import | Azure blob import | |
| StopAzureBlobIngestion | Stop an azureBlob import task | Stops an AzureBlob import task. |
| StartAzureBlobIngestion | Start azure blob ingestion task | Starts an Azure Blob ingestion task. |
| DeleteAzureBlobIngestion | Delete an azure blob import task | Deletes an Azure Blob import task. |
| UpdateAzureBlobIngestion | Update an azure blob ingestion task | Updates an Azure Blob ingestion task. |
| ListAzureBlobIngestion | List azure blob import jobs | Lists Azure Blob import jobs. |
| CreateAzureBlobIngestion | Create an azure blob import task | Creates an Azure Blob import task. |
| GetAzureBlobIngestion | Retrieve an azure blob import task | Retrieves an Azure Blob import task. |
| OSS import | OSS import | |
| CreateOSSIngestion | Create an OSS import job | Creates an OSS import job in a specified project. |
| GetOSSIngestion | Retrieve an OSS import job | Retrieves a specified OSS import job. |
| ListOSSIngestions | List OSS import jobs | Lists the OSS import jobs in a specified project. |
| StopOSSIngestion | Stop an OSS import task | Stops the specified OSS import task. |
| StartOSSIngestion | Start an OSS import task | Starts the specified OSS import task. |
| UpdateOSSIngestion | Update an OSS import job | Updates a specified OSS import job. |
| DeleteOSSIngestion | Delete an OSS import job | Deletes an OSS import job. |
Log shipping
|
API |
Title |
Description |
| CreateOSSExport | Create an OSS data shipping job | Uses LogShipper to ship logs from a Logstore to an OSS bucket. |
| CreateOSSHDFSExport | Create an OSS-HDFS data shipping job | Creates an OSS-HDFS data shipping job in a specified project. |
| DeleteOSSExport | Delete an OSS data shipping job | Deletes a specified OSS data shipping job. |
| DeleteOSSHDFSExport | Delete an OSS-HDFS data shipping job | Deletes a specified OSS-HDFS data shipping job. |
| UpdateOSSExport | Update an OSS data shipping job | Updates a specified OSS data shipping job. |
| StartOSSExport | Start an OSS data shipping job | Starts the specified OSS data shipping job. |
| StopOSSExport | Stop an OSS data shipping job | Stops the specified OSS data shipping job. |
| GetOSSExport | Retrieve an OSS data shipping job | Retrieves a specified OSS data shipping job. |
| UpdateOSSHDFSExport | Update an OSS-HDFS data shipping job | Updates a specified OSS-HDFS data shipping job. |
| StartOSSHDFSExport | Start OSS-HDFS data shipping job | Starts the specified OSS-HDFS data shipping job. |
| StopOSSHDFSExport | Stop an OSS-HDFS data shipping job | Stops the specified OSS-HDFS data shipping job. |
| ListOSSExports | List OSS data shipping jobs | Lists the OSS data shipping jobs under a specified project. |
| GetOSSHDFSExport | Retrieve an OSS-HDFS data shipping job | Retrieves the specified OSS-HDFS data shipping job. |
| ListOSSHDFSExports | List OSS-HDFS data shipping jobs | Lists the OSS-HDFS data shipping jobs in a specified project. |
Materialized view
|
API |
Title |
Description |
| DeleteMaterializedView | Delete a materialized view | Deletes a materialized view. |
| CreateMaterializedView | Create a materialized view | Creates a materialized view. |
| ListMaterializedViews | List materialized views | Lists materialized views. |
| GetMaterializedView | Query materialized view details | Retrieves a materialized view. |
| UpdateMaterializedView | Update a materialized view | Updates a materialized view. |
Data transformation
|
API |
Title |
Description |
| CreateETL | Create a data transformation job | Creates a data transformation job in a specified project. |
| DeleteETL | Delete a data transformation job | Deletes a data transformation job. |
| UpdateETL | Update a data transformation job | Updates the configuration of a specified data transformation job and restarts it. |
| StartETL | Start a data transformation job | Starts the specified data transformation job. |
| StopETL | Stop a data transformation job | Stops a specified data transformation job. |
| ListETLs | List data transformation jobs | Lists the data transformation jobs in a project. |
| GetETL | Retrieve data transformation job | Retrieves the configuration of a specified data transformation job. |
Scheduled SQL
|
API |
Title |
Description |
| CreateScheduledSQL | Create a scheduled SQL job | Creates a scheduled SQL job in a specified project. |
| DeleteScheduledSQL | Delete a scheduled query | Deletes a specified scheduled query. |
| UpdateScheduledSQL | Update a scheduled query job | Updates a specified scheduled query job. |
| EnableScheduledSQL | Start a scheduled query | Starts the specified scheduled query. |
| DisableScheduledSQL | Disable a scheduled query | Disables a specified scheduled query. |
| ListScheduledSQLs | List scheduled SQL jobs | Lists the scheduled SQL jobs in a specified project. |
| GetScheduledSQL | Retrieve a scheduled query | Retrieves the specified scheduled query. |
Log download
|
API |
Title |
Description |
| CreateDownloadJob | Create a log download task | Creates a log download task in a specified project. |
| DeleteDownloadJob | Delete a log download task | Deletes a download task. |
| GetDownloadJob | Retrieve a log download job | Retrieves the information about a download job. |
| ListDownloadJobs | List log download tasks | Lists the log download tasks in a specified project. |
Write processor
|
API |
Title |
Description |
| PutIngestProcessor | Create or modify a write processor | Creates or modifies a write processor. |
| GetIngestProcessor | GetIngestProcessor | Retrieves information about an ingest processor. |
| ListIngestProcessors | ListIngestProcessors | Lists ingest processors that meet the specified conditions. |
| DeleteIngestProcessor | DeleteIngestProcessor | Deletes an ingest processor. |
| UpdateLogStoreProcessor | Update the write processor associated with a logstore | Updates the write processor associated with a Logstore. |
| UpdateMetricStoreProcessor | Update the write processor associated with a metricStore | Updates the write processor associated with a MetricStore. |
Consum processor
|
API |
Title |
Description |
| PutConsumeProcessor | PutConsumeProcessor | Creates or updates a consume processor. |
| GetConsumeProcessor | GetConsumeProcessor | Retrieves the details of a consume processor. |
| ListConsumeProcessors | ListConsumeProcessors | Retrieves a list of consume processors that match the specified parameters. |
| DeleteConsumeProcessor | DeleteConsumeProcessor | Deletes a consume processor. |
Machine learning
|
API |
Title |
Description |
| ListAiTools | List observability AI tool capabilities | Retrieves the list of intelligent tools provided by the cloud-native observability platform, including Copilot-related capabilities for various observability services. |
| CallAiTools | Invoke observability AI tool capabilities | Invokes an observability AI tool. Tool capabilities are continuously updated. You can retrieve the currently supported capabilities by calling the tool list API. |
| CreateAnnotationLabel | Create a tag | Creates a tag table. |
| PutAnnotationData | Store data | Stores data in centralized data storage. |
| CreateAnnotationDataSet | Create a dataset | Creates a dataset. |
| DeleteAnnotationLabel | Delete a tag | Deletes a tag. Only non-built-in tags can be deleted. |
| DeleteAnnotationData | Delete data | Deletes data in centralized data storage. |
| DeleteAnnotationDataSet | Delete a dataset | Deletes a dataset. You can delete a dataset only if it contains no data structures. |
| UpdateAnnotationLabel | Update tags | Updates a tag table. When updating a tag set, only the names of the tags in the set can be updated. Other attributes cannot be updated. |
| UpdateAnnotationDataSet | Update a dataset | Updates a dataset. |
| GetAnnotationLabel | Retrieve a label | Retrieves a label table by label ID. |
| ListAnnotationLabels | Retrieve tag tables | Retrieves a list of tag tables. |
| GetAnnotationData | Retrieve data | Retrieves the data structure in the centralized data storage by using the unique identity of the data. |
| ListAnnotationData | Retrieve data list | Lists all data in centralized data storage. |
| GetAnnotationDataSet | Retrieve dataset | Retrieves dataset information. |
| ListAnnotationDataSets | List datasets | Retrieves a list of dataset structs. |
| GetMLServiceResults | Retrieve algorithm analysis results for tasks in specified scenarios | Provides intelligent analysis capabilities for basic data such as logs, metrics, and traces on the Simple Log Service platform. You can invoke relevant models to directly obtain analysis results. Supported nodes include named entity recognition (NER) for log data, outlier detection for time series data, and root cause analysis of spans for high-latency trace data. |
Authorization policy
|
API |
Title |
Description |
| PutProjectPolicy | Create a project policy | Creates a project access policy. |
| DeleteProjectPolicy | Delete project authorization policy | Deletes the authorization policy of a project. |
| GetProjectPolicy | Query the project authorization policy | Performs a query for the access policy of a project. |
Semantic model
|
API |
Title |
Description |
| ListSourceModels | List sourceModels | Queries the SourceModels in the current account. |
| CreateSourceModel | Create a source model | Creates a source UModel. |
| DeleteSourceModel | Delete an objective model | Deletes a Source UModel. |
| QuerySourceModel | Retrieve uModel elements | Queries the content of a UModel by using SPL. |
| RegenerateSourceModel | Regenerate objective model | Regenerates an objective model on an ad hoc basis. |
| UpsertSourceModel | Write uModel elements | Writes or updates UModel content in batches. |
| DeleteSourceModelElement | Delete a uModel element | Deletes a single Source UModel element. |
| GetSourceModelStatus | Query objective model generation status | Queries the internal generation status. |
| ListContextModels | List context models | Lists semantic models. |
| CreateContextModel | Create a context model | Creates a semantic model. |
| GetContextModel | Retrieve a context model | Retrieves the details of a semantic model. |
| UpdateContextModel | Update a context model | Updates the display name, description, and referenced sources of a context model. |
| DeleteContextModel | Delete a context model | Deletes a semantic model. |
| QueryContextModel | Retrieve context model elements | Queries the content of a semantic model by using SPL. |
| UpsertContextModel | Write or update context model elements | Writes or updates the semantic elements of a context model in batches. |
| DeleteContextModelElement | Delete a context model element | Deletes a single element. |
DataAgent
|
API |
Title |
Description |
| CreateChat | Initiate a session | Initiates a session with a specified DataAgent and receives the replies, execution processes, and artifacts of the agent in real time through an event stream. Multiple rounds of Q&A within the same session thread share the context, which can be used to append questions in an existing conversation, reconnect to an unfinished streaming output, or terminate an ongoing reply generation. |
| ListDataAgents | List dataAgents | Queries the DataAgents under the current account, supports fuzzy filtering by keyword, and returns paginated results sorted by creation time in descending order. |
| CreateDataAgent | Create a dataAgent | Creates a DataAgent and binds a RAM role for accessing resources in your account and the context models to be associated. |
| DeleteDataAgent | Delete a dataAgent | Deletes a specified DataAgent. After the DataAgent is deleted, its name is released and can be reused to create a new DataAgent. |
| GetDataAgent | Retrieve dataAgent | Retrieves a DataAgent. |
| UpdateDataAgent | Update a dataAgent | Updates the configuration of a specified DataAgent, including the display name, description, system prompt, assumed RAM role, and associated context models. |
| ListThreads | List sessions | Lists the sessions under a specified DataAgent, supports filtering by status and session ID, and returns paginated results. |
| CreateThread | Create a thread | Creates a new thread under the specified DataAgent and returns the ID of the new thread. |
| UpdateThread | Modify a thread | Modifies the title, status, and custom attributes of a specified thread under a DataAgent. |
| GetThreadData | Retrieve thread data | Retrieves the conversation data of a specified thread and returns the messages generated in each turn in chronological order with pagination. |
| GetThread | Retrieve thread | Queries the basic information of a specific thread under a specified DataAgent, including the title, status, associated Simple Log Service resource, version number, and time. |
| DeleteThread | Delete a session | Deletes a session under the specified DataAgent. |
Cloud service collection rule
|
API |
Title |
Description |
| UpsertCollectionPolicy | Create a collection rule for cloud service log collection | Creates a collection rule for cloud service log collection to enable automated collection of cloud service logs. |
| DeleteCollectionPolicy | Delete a collection rule for cloud service log collection | Deletes a collection rule for cloud service log collection. |
| ListCollectionPolicies | List collection rules for cloud service log collection | Lists the collection rules for cloud service log collection. |
| GetCollectionPolicy | Retrieve a log collection policy for a cloud service | Retrieves the specified collection policy. |
Dedicated SQL instance
|
API |
Title |
Description |
| CreateSqlInstance | CreateSqlInstance | If you use Standard SQL to analyze a large volume of data, a single query may not be able to scan all logs within a specified time range, which can result in incomplete data. Adding shards improves read and write performance, but this change applies only to new data. To analyze a larger volume of data in a single query, you can enable Dedicated SQL and increase its compute resources. |
| UpdateSqlInstance | UpdateSqlInstance | When you use Standard SQL to analyze large amounts of data, a single query may not scan all logs within a specific time range, which can result in incomplete data. Although adding shards improves read and write performance, this improvement applies only to new data. To analyze more data in a single query, enable Dedicated SQL and add more compute resources. |
| GetSqlInstance | GetSqlInstance | Gets information about the Dedicated SQL instance of a project, such as the number of compute units (CUs) and whether the Dedicated SQL instance is enabled by default. Before you call this operation, you must create a Dedicated SQL instance by calling the CreateSqlInstance or UpdateSqlInstance operation. |
Service activation
|
API |
Title |
Description |
| GetSlsService | GetSlsService | Call the GetSlsService operation to retrieve the activation status of Simple Log Service. The endpoint must be China (Shanghai) or Singapore. |
| OpenSlsService | OpenSlsService | Activates Simple Log Service. You must use the endpoint for Simple Log Service only in the China (Shanghai) or Singapore region. |
Console embedding
|
API |
Title |
Description |
| RefreshToken | RefreshToken | Refreshes an access token using a ticket. The access token is used to call console API operations. |
Process-level configuration
|
API |
Title |
Description |
| CreateAgentInstanceConfig | Create process-level configuration | Creates a process-level configuration. |
| DeleteAgentInstanceConfig | Delete a process-level configuration | Deletes a process-level configuration. |
| GetAgentInstanceConfig | Retrieve process-level configurations | Retrieves process-level configurations. |
| ListAgentInstanceConfigs | List process-level configurations | Lists process-level configurations. |
| UpdateAgentInstanceConfig | Update process-level configurations | Updates process-level configurations. |
MaxCompute shipping
|
API |
Title |
Description |
| GetMaxComputeExport | Retrieve a maxCompute data shipping job | Retrieves the information about a MaxCompute data shipping job. |
| CreateMaxComputeExport | Create a maxCompute data shipping job | Creates a MaxCompute data shipping job. |
| DeleteMaxComputeExport | Delete a maxCompute data shipping job | Deletes a MaxCompute data shipping job. |
| ListMaxComputeExports | List maxCompute data shipping jobs | Lists MaxCompute data shipping jobs. |
| StartMaxComputeExport | Start maxCompute data shipping job | Starts a MaxCompute data shipping job. |
| StopMaxComputeExport | Stop a MaxCompute data shipping job | Stops a MaxCompute data shipping job. |
| UpdateMaxComputeExport | Update a maxCompute data shipping job | Updates a MaxCompute data shipping job. |
Tag
|
API |
Title |
Description |
| UntagResources | Remove tags | Removes tags from the specified resources. Currently, only tags for Simple Log Service projects are supported. You can remove multiple or all tags from a single project at a time. |
| TagResources | TagResources | Creates and adds tags to a resource. You can add tags only to projects. |
| ListTagResources | ListTagResources | Queries 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. |
Resource record
|
API |
Title |
Description |
| ListResourceRecord | List resource records | Lists resource records by offset and size. |
| DeleteResourceRecord | Delete resource records | Deletes resource records in batches. |
| ListNextResourceRecord | List subsequent resource records | Lists resource records using nextToken. |
| UpsertResourceRecord | Write resource records | Writes or updates resource records in batches. |
| CreateResourceRecord | Create a resource record | Creates a resource record. |
| GetResourceRecord | Retrieve a specified resource record | Retrieves a specified resource record. |
| UpdateResourceRecord | Update a resource record | Updates a specified resource record. |
Service log configuration
|
API |
Title |
Description |
| CreateLogging | Create service logs | Creates service logs for a project. |
| GetLogging | GetLogging | Queries the service log configuration of a project. |
| UpdateLogging | Update service log configurations | Updates the service log configurations of a project. |
| DeleteLogging | DeleteLogging | Deletes the service log for a specified project. |
Others
|
API |
Title |
Description |
| ChangeResourceGroup | Modify resource group | Modifies the resource group to which a project belongs. |
| CreateDomain | CreateDomain | Binds a new custom domain name to a project. |
| DeleteDomain | DeleteDomain | Deletes a custom domain name that is bound to a project. |
| ListDomains | ListDomains | Queries the custom domain names that are bound to projects. |
| PutProjectTransferAcceleration | PutProjectTransferAcceleration | Enables or disables transfer acceleration. |
| GetLogStoreConfig | GetLogStoreConfig | Retrieves the configuration of a Logstore. |
| PutLogStoreConfig | Update logstore configurations | Modifies the configurations of a Logstore. |
| CreateTicket | CreateTicket | Obtains 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. |
| DescribeRegions | Query available regions | Queries the available regions. |
| DeleteLogs | Delete logs | Deletes log data from a Logstore under a specified project |
| UpdateLogs | Update Logs | Updates log data in a specified Logstore under the specified Project. |
| GetJobInstance | Query a job instance | Retrieves a job instance. |
| ListJobInstances | List job instances | Retrieves a list of job instances. |
| CreateApiKey | Create an API key | Creates an API key resource in a specified project. |
| DeleteApiKey | Delete an API key | Deletes a specified API key resource. |
| DisableApiKey | Disable an API key | Disables a specified API key to prevent it from being used to write data. |
| EnableApiKey | Enable an API key | Enables a specified API key so that it can continue to be used to write data. |
| GetApiKey | Retrieve an API key | Retrieves the details of a specified API key by its name. |
| ListApiKeys | Retrieve API keys | Queries all API keys and their details in a specified project. |
| UpdateApiKey | Update an API key | Updates the resource whitelist and description of a specified API key. |