Commit 38c43691 authored by ijaz ahmad's avatar ijaz ahmad Committed by GitHub
Browse files

Create saving-es-dashboard-schemas

parent ad8df8b5
#!/bin/bash
git clone git@github.com:cms-sw/cms-bot.git
cd cms-bot/es-kibana-dashboards
declare -a DASH_BOARDS=('RelVals' 'Jenkins' 'IBs' 'JobReports' 'IWYU' 'IB+Unit+Tests' 'CMSREP' 'IBsDataSets' 'Hypernews' 'Main')
for dashboard in "${DASH_BOARDS[@]}"
do
curl "http://<user>:<password>@<es-host>.cern.ch:9200/kibana-int/dashboard/$dashboard?pretty"|sed 's/\\/''/g' >${dashboard}.json
done
git commit -a -m "kibana dashbaords upated"
git push origon master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment