Skip to content

Instantly share code, notes, and snippets.

@hossainemruz
Created August 15, 2018 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hossainemruz/3c19905209c0226e3f45b3ec0f66dc99 to your computer and use it in GitHub Desktop.
Save hossainemruz/3c19905209c0226e3f45b3ec0f66dc99 to your computer and use it in GitHub Desktop.
cluster:
name: es-monitoring-cluster
node:
master: true
data: true
name: es-monitoring-cluster-0
ingest: true
network.host: 0.0.0.0
path:
data: /data/data
logs: /data/log
bootstrap:
memory_lock: false
http:
enabled: true
compression: true
cors:
enabled: true
allow-origin: ${HTTP_CORS_ALLOW_ORIGIN}
allow-credentials: true
allow-headers: "X-Requested-With, Content-Type, Content-Length, Authorization"
discovery:
zen:
ping.unicast.hosts: es-monitoring-cluster-master
minimum_master_nodes: 1
######## Start Search Guard Configuration ########
searchguard.disabled: true
searchguard.ssl.transport.keystore_filepath: certs/node.jks
searchguard.ssl.transport.keystore_password: ${KEY_PASS}
searchguard.ssl.transport.truststore_filepath: certs/root.jks
searchguard.ssl.transport.truststore_password: ${KEY_PASS}
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.http.enabled: false
searchguard.ssl.http.keystore_filepath: certs/client.jks
searchguard.ssl.http.keystore_password: ${KEY_PASS}
searchguard.ssl.http.truststore_filepath: certs/root.jks
searchguard.ssl.http.truststore_password: ${KEY_PASS}
searchguard.authcz.admin_dn:
- 'CN=sgadmin,O=Elasticsearch Operator'
######## End Search Guard Configuration ########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment