Commit Graph

66 Commits

Author SHA1 Message Date
Karel Minarik 9a1f11da6e Trimmed the main `elasticsearch.yml` configuration file
The main `elasticsearch.yml` file mixed configuration, documentation
and advice together.

Due to a much improved documentation at <http://www.elastic.co/guide/>,
the content has been trimmed, and only the essential settings have
been left, to prevent the urge to excessive over-configuration.

Related: 8d0f1a7d123f579fc772e82ef6b9aae08f6d13fd
2015-05-02 12:54:22 +02:00
Tanguy Leroux f7d4baacfb Remove working directory
This commit removes the working directory and its associated environment variable "WORK_DIR"
2015-04-25 13:08:36 +02:00
Robert Muir 500c956b45 Remove policy config file, its a resource.
Remove exposed boolean to turn off security.
Add unit test
2015-04-23 22:02:57 -04:00
Robert Muir 270cb9f349 enable securitymanager 2015-04-22 03:04:50 -04:00
Reuben Sutton 85c221e9b1 Remove jsonp support and associated tests, closes #9108 2015-04-01 16:06:09 +01:00
Drew Raines 05f6b42cfc Reduce cloud-aws logging when rootLogger is DEBUG 2014-12-09 14:39:42 -06:00
Lee Hinman 45408844e7 Remove NoneGateway, NoneGatewayAllocator, & NoneGatewayModule
Always use the LocalGateway* equivalents

We already check in the LocalGateway whether a node is a client node, or
is not master-eligible, and skip writing the state there. This allows us
to remove this code that was previously used only for tribe nodes (which
are not master eligible anyway and wouldn't write state) and in
tests (which can shake more bugs out)
2014-11-24 12:22:05 +01:00
David Pilato cbced948c4 Fix example in logging daily rotate configuration
PR #8464 come with a bug in the example provided.

First, the current log file is not compressed so it should not end with `.gz`.
Second, conversion pattern was removing all the log content but was printing only the log date.
Then, the current log filename was hardcoded to `elasticsearch` instead of the cluster name.
2014-11-19 15:58:53 +01:00
Colin Goodheart-Smithe 34b37ab7f0 [DOCS] Added documentation for log4j-extras dependency 2014-11-13 12:40:14 +00:00
Clinton Gormley f28ada6416 Docs: Made config comment about min_master_nodes more explicit
Closes #2818
2014-08-08 12:44:01 +02:00
Alexander Reelsen 3e34e979b4 Docs: Correct JSONP comment in config file
Due to the change of disabling JSONP by default in 1.3 we also need to
change the description in the configuration file.

Closes #7069
2014-07-29 09:08:23 +02:00
Fitblip d18fb8bfbd REST API: Allow to configure JSONP/callback support
Added the http.jsonp.enable option to configure disabling of JSONP responses, as those
might pose a security risk, and can be disabled if unused.

This also fixes bugs in NettyHttpChannel
* JSONP responses were never setting application/javascript as the content-type
* The content-type and content-length headers were being overwritten even if they were set before

Closes #6164
2014-06-19 08:34:38 +02:00
Sean Gallagher ff6b2340d1 Removed leading spaces on commented config key lines in elasticsearch.yml
Author: Sean Gallagher
Date: 17 Apr 2014 16:18 EDT

Removed spaces on commented lines containing config key entries to prevent
users from inadvertently messing up the indents in elasticsearch.yml.
Closes #5842
2014-04-18 11:54:52 -04:00
Benjamin Devèze c511c46f9f Add Marvel and Paramedic to config file 2014-02-06 18:14:21 +01:00
Luca Cavanna 80ab15dfc1 Updated nodes info endpoint in elasticsearch.yml
Relates to #4055
2014-02-06 17:25:27 +01:00
David Pilato 583f148334 [DOCS] add azure and gce discovery plugins
Clean EC2 disco doc
Add Azure disco doc
Add Google Compute Engine doc
Fix Zen doc (add `enabled` in `multicast` parameters list) - Fix #5032.
2014-02-06 09:18:42 +01:00
Shay Banon efa59f37a8 Create standard gc and memory_pool names for Jvm stats
fixes #4661
2014-01-08 21:16:10 +01:00
Simon Willnauer fa16969360 Cleanup comments and class names s/ElasticSearch/Elasticsearch
* Clean up s/ElasticSearch/Elasticsearch on docs/*
 * Clean up s/ElasticSearch/Elasticsearch on src/* bin/* & pom.xml
 * Clean up s/ElasticSearch/Elasticsearch on NOTICE.txt and README.textile

Closes #4634
2014-01-07 11:21:51 +01:00
Boaz Leskes 0f7c5dbc86 Update minimum_master_nodes comment to match documentation
Someone on the mailing list wrongly interpreted it to mean the current node is not included in the calculation.
2013-12-15 11:25:36 +01:00
Lee Hinman 4b96b2cf3d Fix broken links in example configuration file 2013-10-09 04:16:15 -06:00
Boaz Leskes 1262ba4912 Removed port range option from discovery.zen.ping.unicast.hosts example. 2013-09-05 12:37:33 +02:00
Boaz Leskes 9869427ef6 Allow to configure root logging level using system properties. Ex. -Des.logger.level=DEBUG . Defaults to INFO as before. 2013-08-15 14:36:00 +02:00
Alexander Reelsen 2d5b832f17 Updated elasticsearch.yml file for recovery throttling 2013-06-28 13:24:32 +02:00
Shay Banon a2a8553faf Indexing Slow Log
closes #2457
2012-12-03 10:21:59 +01:00
Shay Banon 91de48d2d3 remove accented character 2012-11-09 21:54:17 +01:00
Benjamin Devèze 017f48a187 add mandatory plugins support in conf 2012-02-17 22:51:35 +01:00
Shay Banon c75f8fc18a GC logging: Enable back automatic gc logging based on thresholds (even if last gc is not available), closes #1679. 2012-02-08 00:35:28 +02:00
Shay Banon da062bb905 add node.max_local_storage_nodes to config template 2012-02-01 13:34:35 +02:00
Shay Banon 942b427940 Local Gateway: Store specific index metadata under dedicated index locations, closes #1631. 2012-01-22 23:34:34 +02:00
Florian Gilcher 38338e7fdb Fix incorrect key in config sample
"transport.tcp.port" is used to configure netty, not "transport.port"
2011-11-29 16:24:28 +02:00
Shay Banon ed281fbfd5 Index shard search slow log (query and fetch), closes #1462. 2011-11-14 14:10:39 +02:00
Shay Banon c5835cac04 more doc in config 2011-09-26 21:32:46 +03:00
Shay Banon eca11d1e61 add not attributes doc, and env var automatic replacement 2011-09-26 21:30:18 +03:00
Pål Brattberg 32526f004c Minor spelling corrections 2011-09-25 22:17:21 +03:00
Shay Banon 4876e5a968 doc multi path.data locations 2011-09-25 21:06:12 +03:00
Karel Minarik f837213d6f Reformatted and amended the example configuration file
Edited elasticsearch.yml:

* Separated different sections (using headers)
* Added more information about nodes configuration
* Added more information about various index configurations and their effects
* Added information about setting network and HTTP configuration
* Reworded information on gateway, recovery, discovery

The example configuration file should allow operations stuff to quickly
get a sense of ElasticSearch features relevant for systems support,
and to understand how to configure node, cluster, network and discovery settings.

The aim here is to vaguely respect the most often changed configuration settings,
while having some top-to-bottom conceptual integrity.

Table of Contents:

* Cluster
* Node
* Index
* Paths
* Memory
* Network And HTTP
* Gateway
* Recovery Throttling
* Discovery
2011-09-25 21:01:39 +03:00
Shay Banon 819653cdba add a note on mlockall 2011-09-13 23:33:43 +03:00
Shay Banon cd82d9ad47 remove wrongly committed config 2011-09-11 13:51:45 +03:00
Shay Banon e6f277474e Thread Pool: Blocking thread pool type configuration fails, closes #1321. 2011-09-11 01:06:57 +03:00
Shay Banon 5610d90c2d add custom config for plugins path as well 2011-09-09 17:25:25 +03:00
Shay Banon b653d149d1 Peer recovery: Allow to throttle recovery based on "size per sec", closes #1304. 2011-09-06 12:40:14 +03:00
Shay Banon 9e621afeb8 warn if mlockall is not working once enabled in settings (instead of debug logging), closes #1194. 2011-08-02 14:07:27 +03:00
kimchy de2944ff4a reformat the default config file, add more comments 2011-07-20 23:29:25 +03:00
kimchy e094de8879 add also minimum master nodes to the config tempalte 2011-07-08 02:05:52 +03:00
kimchy 9be62a06e9 support also ping.timeout in zen disco, and add it to the sample config 2011-07-08 02:03:09 +03:00
kimchy a51f86aeb1 fix default settings to have the correct setting to disable multicast 2011-06-30 22:40:01 +03:00
kimchy e3526f7f07 grr, fix wrong setting again 2011-06-08 12:36:42 +03:00
kimchy bbc676cc91 Problem with default configuration file for unicast, closes #1005. 2011-06-08 12:08:41 +03:00
kimchy 358a4acf03 fix wording 2011-05-29 16:09:04 +03:00
kimchy 297f2644ec add path settings sampel 2011-05-29 16:03:58 +03:00