summaryrefslogtreecommitdiff
path: root/elastic/load.sh
diff options
context:
space:
mode:
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