Skip to main content

AWS CloudWatch operations

v0.1.4

Metric + alarm + log group + log stream + log query introspection. Read-only. Auth via AWS_PROFILE.

7 allowed by default
Pack ID
aws-cloudwatch
Vendor
emisar
OS
linux
Actions
7
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
aws

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install aws-cloudwatch --hash sha256:aaae29ea01c91b219528dd15a03246db79a7d6db82892b2d2b5ba1a01f83e4db

Actions 7 total

View on GitHub
  • cw.alarms_in_alarm exec low

    aws cloudwatch describe-alarms --state-value ALARM

    List only currently-firing alarms.

    View source on GitHub
  • cw.describe_alarms exec low

    aws cloudwatch describe-alarms

    List all CloudWatch alarms with state + threshold.

    View source on GitHub
  • cw.get_metric_statistics exec low

    aws cloudwatch get-metric-statistics (last 1h)

    Get 1-hour Average + Max for one metric. Use for quick health snapshots.

    View source on GitHub
  • cw.list_metrics exec low

    aws cloudwatch list-metrics --namespace

    List all metrics in one namespace.

    View source on GitHub
  • cw.log_groups exec low

    aws logs describe-log-groups

    List all CloudWatch log groups.

    View source on GitHub
  • cw.log_streams exec low

    aws logs describe-log-streams

    List streams for one log group, sorted by last event time.

    View source on GitHub
  • cw.log_tail exec low

    aws logs tail

    Tails recent log events for one log group (no follow).

    View source on GitHub