Some useful scripts/snippets I have used while working with Elastic Stacks
I often work with systems with separate backend clusters and logstash / fluentd ingest rather than the most common Elastic model where Beats can configure Elasticsearch/Kibana directly.
I use this docker-compose to quickly get the upstream Filebeat,Packetbeat,Auditbeat index templates when a new version is released so I the apply them to any CI/Ansible pipelines etc. There is a wrapper script for laziness.
sudo bash dump.sh