All Products
Search
Document Center

Simple Log Service:Action list

最終更新日:Mar 18, 2024

This topic describes the actions that a RAM user can perform on Simple Log Service resources.

Allowed actions

In RAM, you can authorize the RAM user to perform the following operations on Simple Log Service resources. The operations are classified into the following types: read, write, and list.

  • Read operations: You can read data from Simple Log Service resources.

  • Write operations: You can write data to Simple Log Service resources.

  • List operations: You can view Simple Log Service resources.

Resource type

Action

Description

Project

log:CreateProject

Creates a project.

log:DeleteProject

Deletes a project.

log:GetProject

Queries the attributes of a project.

log:ListProject

Queries the projects that meet specified conditions.

log:UpdateProject

Updates a project.

Logstore

log:CreateLogStore

Creates a Logstore in a project.

log:GetLogStore

Queries the attributes of a Logstore.

log:GetLogStoreContextLogs

Queries the contextual logs of a log.

log:GetLogStoreHistogram

Queries the distribution of logs in a Logstore of a project.

log:GetLogStoreLogs

Queries logs in a Logstore of a specified project.

log:DeleteLogStore

Deletes a Logstore, including all shards and indexes of the Logstore.

log:PostLogStoreLogs

Writes logs to a Logstore.

log:UpdateLogStore

Updates the attributes of a Logstore.

log:ListLogStores

Queries all Logstores in a project.

log:GetCursorOrData (GetCursorand GetCursorTime)

Queries a cursor based on the server time, and queries the server time based on a cursor.

log:MergeShard

Merges shards.

log:SplitShard

Splits a shard.

log:ListShards

Queries all available shards in a Logstore.

log:GetShipperStatus

Queries the status of a log shipping job.

log:RetryShipperTask

Re-runs a failed log shipping job.

log:CreateIndex

Creates indexes for a Logstore.

log:DeleteIndex

Deletes indexes from a Logstore.

log:GetIndex

Queries the indexes of a Logstore.

log:UpdateIndex

Updates the indexes of a Logstore.

Config

log:CreateConfig

Creates a Logtail configuration in a project.

log:UpdateConfig

Updates a Logtail configuration.

log:DeleteConfig

Deletes a Logtail configuration.

log:GetConfig

Queries the details of a Logtail configuration.

log:ListConfig

Queries all Logtail configurations in a project. You can configure related parameters to specify the number of entries to display on each page.

MachineGroup

log:CreateMachineGroup

Creates a machine group to specify the servers from which logs are collected.

log:UpdateMachineGroup

Updates a machine group.

log:DeleteMachineGroup

Deletes a machine group.

log:GetMachineGroup

Queries the details of a machine group.

log:ListMachineGroup

Queries machine groups.

log:ListMachines

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

log:ApplyConfigToGroup

Applies a Logtail configuration to a machine group.

log:RemoveConfigFromGroup

Deletes a Logtail configuration from a machine group.

log:GetAppliedMachineGroups

Queries the machines to which a Logtail configuration is applied.

log:GetAppliedConfigs

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

ConsumerGroup

log:CreateConsumerGroup

Creates a consumer group for a Logstore.

log:UpdateConsumerGroup

Modifies the attributes of a consumer group.

log:DeleteConsumerGroup

Deletes a consumer group.

log:ListConsumerGroup

Queries all consumer groups in a Logstore.

log:UpdateCheckPoint

Updates the checkpoint of a shard in a consumer group.

log:ConsumerGroupHeartBeat

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

log:GetConsumerGroupCheckPoint

Retrieves the checkpoints of one or all shards in a consumer group.

SavedSearch

log:CreateSavedSearch

Creates a saved search.

UpdateSavedSearch

Updates a saved search.

log:GetSavedSearch

Queries a saved search.

log:DeleteSavedSearch

Deletes a saved search.

log:ListSavedSearch

Queries saved searches.

Tag

TagResources

Creates and adds tags to a resource.

UntagResources

Unbinds tags from a resource.

ListTagResources

Queries the tags of resources.

Dashboard

log:CreateDashboard

Creates a dashboard.

log:UpdateDashboard

Updates a dashboard.

log:GetDashboard

Queries a dashboard.

log:DeleteDashboard

Deletes a dashboard.

log:ListDashboard

Queries dashboards.

Job

log:CreateJob

Creates a job.

log:UpdateJob

Updates a job.

log:ListJobs

Queries jobs.

log:DeleteJob

Deletes a job.

Chart

log:CreateChart

Creates a chart.

log:UpdateChart

Updates a chart.

log:DeleteChart

Deletes a chart.

log:GetChart

Queries a chart.