elasticsearch.yml

From wikieduonline
Jump to navigation Jump to search

cat /etc/elasticsearch/elasticsearch.yml | grep -v "#"
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
cat /opt/homebrew/etc/elasticsearch/elasticsearch.yml | grep -v "#"
cluster.name: elasticsearch_MY_NAME
path.data: /opt/homebrew/var/lib/elasticsearch/
path.logs: /opt/homebrew/var/log/elasticsearch/


network.host: 0.0.0.0


xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: /usr/share/elasticsearch/config/certs/..data/es-cert.p12
xpack.security.transport.ssl.truststore.path: /usr/share/elasticsearch/config/certs/..data/es-cert.p12
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.truststore.path: /usr/share/elasticsearch/config/certs/..data/es-cert.p12
xpack.security.http.ssl.keystore.path: /usr/share/elasticsearch/config/certs/..data/es-cert.p12
http.cors.allow-origin: https://admin*.your-domain.com
http.cors.enabled: true
http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
http.cors.allow-credentials: true


Related terms[edit]

See also[edit]

Advertising: