Difference between revisions of "Elasticsearch.yml"
Jump to navigation
Jump to search
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | * Linux: <code>[[/etc/elasticsearch/]]elasticsearch.yml</code> | |
+ | * [[Docker]]: <code>[[/usr/share/elasticsearch/config/elasticsearch.yml]]</code> | ||
+ | * [[Brew]]: <code>[[/opt/homebrew/etc/elasticsearch/elasticsearch.yml]]</code> | ||
− | cat /etc/elasticsearch/elasticsearch.yml | grep -v "#" | + | cat [[/etc/elasticsearch/]]elasticsearch.yml | grep -v "#" |
path.data: [[/var/lib/]]elasticsearch | path.data: [[/var/lib/]]elasticsearch | ||
path.logs: /var/log/elasticsearch | path.logs: /var/log/elasticsearch | ||
Line 13: | Line 15: | ||
− | network.host: 0.0.0.0 | + | [[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 == | == Related terms == | ||
* <code>[[systemctl restart]] elasticsearch.service</code> | * <code>[[systemctl restart]] elasticsearch.service</code> | ||
− | * [[Install ElasticSearch using Docker]]: | + | * [[Install ElasticSearch using Docker]]: <code>[[/usr/share/elasticsearch/config/]]</code> |
+ | * <code>[[Low disk watermark]]</code>: <code>[[cluster.routing.allocation.disk.watermark.low]]</code> | ||
== See also == | == See also == | ||
− | * {{ | + | * {{elasticsearch.yml}} |
+ | * {{Elasticsearch}} | ||
[[Category:ElasticSearch]] | [[Category:ElasticSearch]] |
Latest revision as of 07:44, 30 January 2023
- Linux:
/etc/elasticsearch/elasticsearch.yml
- Docker:
/usr/share/elasticsearch/config/elasticsearch.yml
- Brew:
/opt/homebrew/etc/elasticsearch/elasticsearch.yml
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]
systemctl restart elasticsearch.service
- Install ElasticSearch using Docker:
/usr/share/elasticsearch/config/
Low disk watermark
:cluster.routing.allocation.disk.watermark.low
See also[edit]
elasticsearch.yml
- Elasticsearch, installation, ELK, Elastic X-Pack,
elasticsearch.yml
, logs, ECK, Elasticsearch curl URLs, Elastisearch REST APIs,/_cat/, /_cluster/, /_xpack/
, QueryShardException, Elasticsearch index, ELK backup and restore,elasticsearch-cli
, Elasticsearch versions, ElasticSearch Snapshot Lifecycle Management (SLM), Low disk watermark, Elasticsearch storage, Elasticsearch users, Elasticsearch roles, search context, shards, Elastic Cloud, Elastic Licensing, ElasticSearch alerts, ESQL
Advertising: