I looked through the documentation of CloudWatch Logs, but I could not find any method to manually remove partial data from a log stream
.
The only way to remove data is to:
- Remove the
log stream
, but that will remove all data (not just the data we want to remove) - Set the retention policy to a smaller time window, so that the log events older than X time will be deleted. This also removes more than we'd like to remove.
Does anyone have experience with removing specific log records?