Skip to content

Instantly share code, notes, and snippets.

@ThiagoBarradas
Created October 4, 2018 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ThiagoBarradas/56c06837f4d4202b387b7baab5a795dc to your computer and use it in GitHub Desktop.
Save ThiagoBarradas/56c06837f4d4202b387b7baab5a795dc to your computer and use it in GitHub Desktop.
export PATH=$PATH:/usr/share/elasticsearch/bin
yum update elasticsearch -y
elasticsearch-plugin list
elasticsearch-plugin remove ingest-geoip
elasticsearch-plugin remove ingest-user-agent
elasticsearch-plugin remove repository-azure
elasticsearch-plugin install ingest-geoip
elasticsearch-plugin install ingest-user-agent
elasticsearch-plugin install repository-azure
echo "ACCOUNT" | elasticsearch-keystore add -f --stdin azure.client.default.account
echo "KEY" | elasticsearch-keystore add -f --stdin azure.client.default.key
systemctl daemon-reload
systemctl restart elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment