Configuration parameters
defaultRegion— Default Region (required)roleArn— Role ArnroleSessionName— Role Session NamesessionDuration— Role Session Durationcredentials— Access Keyaccess_key— Access Keysecret_key— Secret Keytimeout— Timeoutretries— Retriesendpoint_url— PrivateLink service URL.sts_endpoint_url— STS PrivateLink URL.sts_regional_endpoint— AWS STS Regional Endpointsproxy— Use system proxy settings
Commands (13)
-
aws-logs-create-log-groupCreates a log group with the specified name.
-
aws-logs-create-log-streamCreates a log stream for the specified log group.
-
aws-logs-delete-log-groupDeletes the specified log group and permanently deletes all the archived log events associated with the log group.
-
aws-logs-delete-log-streamDeletes the specified log stream and permanently deletes all the archived log events associated with the log stream.
-
aws-logs-delete-metric-filterDeletes the specified metric filter.
-
aws-logs-delete-retention-policyDeletes the specified retention policy. Log events do not expire if they belong to log groups without a retention policy.
-
aws-logs-describe-log-groupsLists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.
-
aws-logs-describe-log-streamsLists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered.
-
aws-logs-describe-metric-filtersLists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace.
-
aws-logs-filter-log-eventsLists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.
-
aws-logs-put-log-eventsUploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams . If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken , both calls may be successful, or one may be rejected.
-
aws-logs-put-metric-filterCreates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents .
-
aws-logs-put-retention-policySets the retention of the specified log group. A retention policy allows you to configure the number of days for which to retain log events in the specified log group.