The following tables list the API operations available for use in Simple Log Service.
Projects
Operation | Description |
Creates a project. | |
Deletes a project. | |
Updates a project. | |
Queries the details of a project. | |
Queries the projects that meet specified conditions. | |
Queries logs in a project by executing an SQL statement. |
Logstores
Operation | Description |
Creates a Logstore. | |
Deletes a Logstore. | |
Updates the attributes of a Logstore. | |
Queries the details of a Logstore. | |
Queries the Logstores that meet specified conditions in a project. |
Logs
Operation | Description |
Writes logs to a Logstore. | |
Writes logs to a Logstore. | |
Collects multiple logs to Simple Log Service in one request. | |
Queries the logs of a Logstore. | |
Queries the distribution of logs that meet specified search conditions in a Logstore. | |
Queries a cursor based on a point in time. | |
Queries the time when a cursor is created on Simple Log Service. | |
Queries the contextual logs of a log. | |
Queries logs based on specified cursors. |
Machine groups
Operation | Description |
Creates a machine group. | |
Deletes a machine group. | |
Updates the configurations of a machine group. | |
Queries the details of a machine group. | |
Queries the machines that are connected to Simple Log Service in a machine group. | |
Queries the machine groups that meet specified conditions in a project. | |
Applies a Logtail configuration to a machine group. | |
Removes a Logtail configuration from a machine group. | |
Queries the Logtail configurations that are applied to a machine group. |
Logtail configurations
Operation | Description |
Creates a Logtail configuration. | |
Deletes a Logtail configuration. | |
Updates a Logtail configuration. | |
Queries the details of a Logtail configuration. | |
Queries the Logtail configurations that meet specified conditions in a project. | |
Queries the machine groups to which a Logtail configuration is applied. |
Indexes
Operation | Description |
Creates indexes for a Logstore. | |
Deletes indexes from a Logstore. | |
Updates the indexes of a Logstore. | |
Queries the indexes of a Logstore. |
Shards
Operation | Description |
Queries shards in a Logstore. | |
Splits a shard in the read/write state. | |
Merges two adjacent shards that are in the read/write state. |
Shipping
Operation | Description |
Queries the status of a log shipping job. | |
Retries a failed log shipping job. |
Consumer groups
Operation | Description |
Creates a consumer group for a Logstore. | |
Deletes a consumer group. | |
Updates the attributes of a consumer group. | |
Queries the checkpoint of a shard whose data is consumed by a consumer group. | |
Queries consumer groups in a Logstore. | |
Updates the checkpoint of a shard whose data is consumed by a consumer group. | |
Sends a heartbeat message for a consumer to Simple Log Service. |
External stores
Operation | Description |
Creates an external store. | |
Deletes an external store. | |
Updates the configurations of an external store. | |
Queries the details of an external store. | |
Queries external stores in a project. |
Saved searches
Operation | Description |
Creates a saved search. | |
Deletes a saved search. | |
Updates a saved search. | |
Queries a saved search. | |
Queries saved searches in a project. |
Dashboards
Operation | Description |
Creates a dashboard. | |
Deletes a dashboard. | |
Updates the configurations of a dashboard. | |
Queries the details of a dashboard. | |
Queries dashboards in a project. |
Tags
Operation | Description |
Queries the tags of resources. | |
Creates and adds tags to resources. You can add tags only to projects. | |
Removes tags from resources. |
Resource groups
Operation | Description |
Modifies the resource group to which a resource belongs. |
Policies
Operation | Description |
Creates a project policy. | |
Deletes a project policy. | |
Queries a project policy. |