Skip to content

Commit

Permalink
doc regex filter better
Browse files Browse the repository at this point in the history
  • Loading branch information
crccheck committed Jan 7, 2018
1 parent 492cb83 commit 1a8bb2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ List Kinesis streams:
Display contents of a stream, "hello-world", starting from 15 minutes ago:

kinesis-console-consumer 'hello-world' --type-timestamp "$(($(date +%s) - 900))"

Only display records that have something that looks like an IP address.
NOTE: `grep` is preferred, but not all platforms have it.

kinesis-console-consumer 'hello-world' --regex-filter "\d+\.\d+\.\d+\.\d+"

0 comments on commit 1a8bb2a

Please sign in to comment.