Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
METRON-480 Kibana 4.5+ Requires http.cors.enabled set to false on ES c…
Browse files Browse the repository at this point in the history
…loses #288
  • Loading branch information
dlyle65535 committed Oct 10, 2016
1 parent f7554f9 commit a2a5a3d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,15 @@
<name>path_data</name>
<value>"/opt/lmm/es_data"</value>
<description>Path to directory where to store index data allocated for this node. e.g. "/mnt/first", "/mnt/second"</description>
</property>
</property>
<property>
<name>http_cors_enabled</name>
<value>"false"</value>
<description>Enable or disable cross-origin resource sharing, i.e. whether a browser on another origin can do requests to Elasticsearch. Defaults to false.</description>
<value-attributes>
<type>string</type>
</value-attributes>
</property>
<!-- Discovery -->
<property>
<name>transport_tcp_port</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
zen_discovery_ping_unicast_hosts = config['configurations']['elastic-site']['zen_discovery_ping_unicast_hosts']

path_data = config['configurations']['elastic-site']['path_data']
http_cors_enabled = config['configurations']['elastic-site']['http_cors_enabled']
http_port = config['configurations']['elastic-site']['http_port']
transport_tcp_port = config['configurations']['elastic-site']['transport_tcp_port']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node:
path:
data: {{path_data}}

http.cors.enabled: true
http.cors.enabled: {{http_cors_enabled}}

port: {{http_port}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ node:
path:
data: {{path_data}}

http.cors.enabled: true
http.cors.enabled: {{http_cors_enabled}}

port: {{http_port}}

Expand Down

0 comments on commit a2a5a3d

Please sign in to comment.