Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Last active October 2, 2023 21:21
Show Gist options
  • Select an option

  • Save itsderek23/be29a12b3b565a7918004807e440d387 to your computer and use it in GitHub Desktop.

Select an option

Save itsderek23/be29a12b3b565a7918004807e440d387 to your computer and use it in GitHub Desktop.
question reference_functions
How many CloudWatch Log Groups do I have?
What are the names of all my Log Groups?
How many Log Streams are in the first Log Group?
Show me the last 5 log events from the first Log Stream in the first Log Group.
What's the total storage in bytes of the first Log Group?
How many CloudWatch Log Insights queries have been run in the last 24 hours?
Retrieve all log events containing the keyword 'ERROR' from the first Log Group in the past hour.
Which Log Group has the oldest log event?
How much data in mb have been ingested into the first Log Group in the past week?
Is there a Log Group named 'XYZ' in my account?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment