summaryrefslogtreecommitdiffstats
path: root/extra/docker/elk/es_backup/clean_longs.sh
diff options
context:
space:
mode:
authorac2550 <ac2550@intl.att.com>2018-10-05 13:50:23 +0200
committerac2550 <ac2550@intl.att.com>2018-10-08 15:35:40 +0200
commitead1051f85d2767d1ab696d63a71e593c77f8ed8 (patch)
tree28142f77508a065a0496edd45aa0e88545d2c923 /extra/docker/elk/es_backup/clean_longs.sh
parente3489d939cd18a4cfa2394ab64ffdb972ddd6a86 (diff)
New kibana config load/restore
Change-Id: I9c26e891c171d8f84bb9f4e03319f63599e00298 Issue-ID: CLAMP-226 Signed-off-by: ac2550 <ac2550@intl.att.com>
Diffstat (limited to 'extra/docker/elk/es_backup/clean_longs.sh')
-rw-r--r--extra/docker/elk/es_backup/clean_longs.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/extra/docker/elk/es_backup/clean_longs.sh b/extra/docker/elk/es_backup/clean_longs.sh
deleted file mode 100644
index bbacf506d..000000000
--- a/extra/docker/elk/es_backup/clean_longs.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/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