aws logs delete-log-stream
Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a log stream
The following delete-log-stream example deletes a log stream named 20150531 from a log group named my-logs.
aws logs delete-log-stream --log-group-name my-logs --log-stream-name 20150531Identify--log-group-nameThe name of the log group.--log-stream-nameThe name of the log stream.This command produces no output.
For more information, see Working with log groups and log streams in the Amazon CloudWatch Logs User Guide.
Options
--log-group-nameThe name of the log group.--log-stream-nameThe name of the log stream.