Skip to content

Instantly share code, notes, and snippets.

View falkenbt's full-sized avatar

Thomas Falkenberg falkenbt

View GitHub Profile
@falkenbt
falkenbt / generate_kibana_index_patterns.sh
Created August 31, 2017 13:09
Generate Kibana index patterns and set the default Index pattern incl. base auth
#/bin/bash
if [[ $# -eq 0 ]] ; then
echo "Usage: `basename "$0"` <Kibana-URL> [noauth]"
echo "Example: `basename "$0"` http://localhost:5601"
exit 1
fi
AUTH=""
if [[ "$2" != "noauth" ]]; then