Refresh kibana index fields via kibanas API
I have this setup in my ~/.bashrc, another deployment would be to place this in k8s.
export KIBANA_USERNAME=jmainguy
export KIBANA_PASSWORD="supersecret"
export KIBANA_URL=logs-lab.example.com
export KIBANA_INDEX="filebeat-*"
# Optional, if you want to filter out some fields
export KIBANA_FILTER="kubernetes.labels.jenkins"
# Optional, if you want to connect with a spefic tls certificate
export KIBANA_CERT="/tmp/self_signed.crt"
# Optional, if you want to connect without verifying the TLS security, simliar to curl -k
export KIBANA_INSECURE="true"
./kibanaRefreshFields
Grab Binaries from The Releases Page
export GO111MODULE=on
go build