Skip to content

Instantly share code, notes, and snippets.

@niallsmart
Last active December 14, 2025 14:39
Show Gist options
  • Select an option

  • Save niallsmart/3e12d790c55a887a5b033a0fd0f6b4cd to your computer and use it in GitHub Desktop.

Select an option

Save niallsmart/3e12d790c55a887a5b033a0fd0f6b4cd to your computer and use it in GitHub Desktop.
AWS CLI Alias Definitions (~/.aws/cli/alias)
[toplevel]
logs-at =
!f() {
aws logs filter-log-events \
--log-group-name "$1" \
--start-time $2 \
--end-time $2 \
--output table \
--query 'events[].{Timestamp:timestamp, Message:message}'
}; f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment