Skip to content

Instantly share code, notes, and snippets.

@ph
Created April 17, 2020 13:25
Show Gist options
  • Save ph/3ac1b854755f54b78e674ebeb65dc1ec to your computer and use it in GitHub Desktop.
Save ph/3ac1b854755f54b78e674ebeb65dc1ec to your computer and use it in GitHub Desktop.
For the master branch
alias eam="curl -s https://artifacts-api.elastic.co/v1/search/8.0-SNAPSHOT/beat | jq '.packages | to_entries | .[] | select(.key|test(\"packetbeat.\")) |.value.url'"
For the 7.x branch (upcoming 7.8)
alias ea7="curl -s https://artifacts-api.elastic.co/v1/search/7.8-SNAPSHOT/beat | jq '.packages | to_entries | .[] | select(.key|test(\"packetbeat.\")) |.value.url'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment