AWS CloudWatch Log Query (Pass/Fail)

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Retrieve binary result from an AWS CloudWatch Insights query. Pushes 0 (success) if logs are found (activity) or 1 if no logs were found in the time window.

Tasks:
  • Running CloudWatch Log Query And Pushing 1 If No Results Found