Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created October 12, 2023 15:54
Show Gist options
  • Select an option

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

Select an option

Save itsderek23/3faa7f4f7e677362e3eab7f87cec617b to your computer and use it in GitHub Desktop.
question reference_functions
How many CloudWatch Log Groups do I have? 74294dde-8cd0-4803-a0c2-7c117b8b15de
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