Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
clamp
/
4ac26de8a8e30f5988acd9e2c95d1bb8f296e119
/
.
/
extra
/
docker
/
elk
/
es_backup
/
clean_longs.sh
blob: bbacf506da34154ec636125e2a5b0cfa000f2502 [
file
] [
log
] [
blame
]
#!/bin/bash
# these commands remove problematic longs in the default backup
# to avoid errors in kibana when restored.
sed
-
i
's/,"hits":0//g'
default
.
json
sed
-
i
's/,"version":1//g'
default
.
json