Skip to content

Commit

Permalink
slight formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks committed Jan 15, 2018
1 parent ce09136 commit 961b408
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/sbin/so-elastic-configure-kibana-config
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ done
# Apply Kibana config
echo
echo "Applying Kibana config..."
curl -XPOST -D- 'http://localhost:5601/api/saved_objects/index-pattern' \
curl -s -XPOST 'http://localhost:5601/api/saved_objects/index-pattern' \
-H 'Content-Type: application/json' \
-H "kbn-version: $KIBANA_VERSION" \
-d '{"attributes":{"title":"*:logstash-*","timeFieldName":"@timestamp"}}'
Expand All @@ -67,6 +67,7 @@ curl -s -XPUT http://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cluster/settin
echo

# Apply Kibana template
echo
echo "Applying Kibana template..."
curl -s -XPUT http://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_template/kibana -H'Content-Type: application/json' -d'{"index_patterns" : ".kibana", "settings": { "number_of_shards" : 1, "number_of_replicas" : 0 }, "mappings" : { "search": {"properties": {"hits": {"type": "integer"}, "version": {"type": "integer"}}}}}'
echo
Expand Down

0 comments on commit 961b408

Please sign in to comment.