CloudWatch log streams shows limited entries

0

One of the loggroups on our CloudWatch shows only 5 logstreams while others shows more. Though logs are present and searchable through "Search all log streams", would like to understand if we had mistakenly included any config which is restricting it to just 5 streams for this CloudWatch LogGroup alone.CloudWatch LogStream screenshot

asked 8 months ago181 views
1 Answer
0

Hi,

Can you please check if those other log groups also have metric filters in them. I see there are two metric filters here. This may not be the reason exactly but just a thought.

Also, I believe you'll be getting all the log streams if you search through CLI:

      aws logs describe-log-streams --log-group-name <log_group_name> --profile <cli_profile> --query "logStreams[*].logStreamName"

Abhishek

profile pictureAWS
EXPERT
answered 8 months ago
  • I find another log group with 4 filters, but still all logstreams are listed. Also as per documentation, the "CloudWatch Logs uses these metric filters to turn log data into numerical CloudWatch metrics that you can graph or set an alarm on." It seems the metric filters are used for building metrics.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions