summaryrefslogtreecommitdiff
path: root/elastic/load.sh
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-04-10 11:43:20 +0200
committervarac <varacanero@zeromail.org>2017-04-10 11:43:20 +0200
commitbb9cc0d317e9abff6a834621604c6dfd505fbe1e (patch)
tree45d4767fdb54ffac534643c1c645331e07638e50 /elastic/load.sh
parent8a1c5233865b05abe33e0d415aa34c54b2d806be (diff)
Added saved search and index pattern for soledad dashboard
Diffstat (limited to 'elastic/load.sh')
-rwxr-xr-xelastic/load.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/elastic/load.sh b/elastic/load.sh
index 0a82cef..e7d1990 100755
--- a/elastic/load.sh
+++ b/elastic/load.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
#
# from https://raw.githubusercontent.com/elastic/beats-dashboards/master/load.sh
@@ -11,7 +11,7 @@
# The default value of the variable. Initialize your own variables here
ELASTICSEARCH=http://localhost:9200
-CURL=curl
+CURL='curl --netrc'
KIBANA_INDEX=".kibana"
BEAT_CONFIG=".beatconfig"
@@ -97,7 +97,7 @@ if [ -z ${SED_STRING} ]; then
SED_STRING="s/packetbeat-/packetbeat-/g;s/filebeat-/filebeat-/g;s/topbeat-/topbeat-/g;s/winlogonbeat-/winlogonbeat-/g"
fi
-DIR=dashboards
+DIR=.
echo "Loading dashboards to ${ELASTICSEARCH} in ${KIBANA_INDEX}"
# Workaround for: https://github.com/elastic/beats-dashboards/issues/94