From 32f8ea3158d4ff0fdca567da4f46784e8a18b14d Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 11 Aug 2020 10:02:00 -0400 Subject: [PATCH] Removes https from rest port --- salt/kibana/etc/kibana.yml | 6 +----- salt/soc/files/soc/soc.json | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/salt/kibana/etc/kibana.yml b/salt/kibana/etc/kibana.yml index 89e568df9..4bcc22016 100644 --- a/salt/kibana/etc/kibana.yml +++ b/salt/kibana/etc/kibana.yml @@ -1,15 +1,11 @@ --- # Default Kibana configuration from kibana-docker. {%- set ES = salt['pillar.get']('manager:mainip', '') -%} -{% set FEATURES = salt['pillar.get']('elastic:features', False) %} +{%- set FEATURES = salt['pillar.get']('elastic:features', False) %} server.name: kibana server.host: "0" server.basePath: /kibana -{% if FEATURES %} -elasticsearch.hosts: [ "https://{{ ES }}:9200" ] -{%- else %} elasticsearch.hosts: [ "http://{{ ES }}:9200" ] -{%- endif %} #kibana.index: ".kibana" #elasticsearch.username: elastic #elasticsearch.password: changeme diff --git a/salt/soc/files/soc/soc.json b/salt/soc/files/soc/soc.json index 86bad6cf4..b44733cb1 100644 --- a/salt/soc/files/soc/soc.json +++ b/salt/soc/files/soc/soc.json @@ -16,11 +16,7 @@ "hostUrl": "http://{{ MANAGERIP }}:4434/" }, "elastic": { - {%- if FEATURES %} - "hostUrl": "https://{{ MANAGERIP }}:9200", - {%- else %} "hostUrl": "http://{{ MANAGERIP }}:9200", - {%- endif %} "username": "", "password": "", "verifyCert": false