Skip to content

Instantly share code, notes, and snippets.

@anubhavsinha
Created October 31, 2015 18:46
Show Gist options
  • Save anubhavsinha/fd993f9a4893cbc12849 to your computer and use it in GitHub Desktop.
Save anubhavsinha/fd993f9a4893cbc12849 to your computer and use it in GitHub Desktop.
send events to a stream in a log group in cloudwatch - for elastic search
aws logs put-log-events --log-group-name anubhav-PoC --log-stream-name anubhav-PoC --log-events "[{\"timestamp\":`date +%s%3N`, \"message\": \"Simple ElasticSearch Test\"}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment