Repository: karaf-decanter Updated Branches: refs/heads/master fa85b61f7 -> 07bf76c5b
Update elasticsearch documentation about etc/org.apache.karaf.decanter.elasticsearch.cfg file Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/07bf76c5 Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/07bf76c5 Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/07bf76c5 Branch: refs/heads/master Commit: 07bf76c5ba3884ad2943763aeccb6c36d44a1e84 Parents: fa85b61 Author: Jean-Baptiste Onofré <jbono...@apache.org> Authored: Mon Jul 27 11:39:26 2015 +0200 Committer: Jean-Baptiste Onofré <jbono...@apache.org> Committed: Mon Jul 27 11:39:26 2015 +0200 ---------------------------------------------------------------------- .../src/main/asciidoc/user-guide/appenders.adoc | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/07bf76c5/manual/src/main/asciidoc/user-guide/appenders.adoc ---------------------------------------------------------------------- diff --git a/manual/src/main/asciidoc/user-guide/appenders.adoc b/manual/src/main/asciidoc/user-guide/appenders.adoc index 162b0da..0dc7123 100644 --- a/manual/src/main/asciidoc/user-guide/appenders.adoc +++ b/manual/src/main/asciidoc/user-guide/appenders.adoc @@ -449,6 +449,30 @@ http.cors.allow-origin: /.*/ It's a "standard" elasticsearch configuration file, allowing you to configure the embedded elasticsearch instance. +Warning: if you change the `etc/elasticsearch.yml` file, you have to restart (with the `bundle:restart` command) the +Decanter elasticsearch bundle in order to load the changes. + +The Decanter elasticsearch node also supports loading and override of the settings using a +`etc/org.apache.karaf.decanter.elasticsearch.cfg` configuration file. +This file is not provided by default, as it's used for override of the default settings. + +You can override the following elasticsearch properties in this configuration file: + +* `cluster.name` +* `http.enabled` +* `node.data` +* `node.name` +* `node.master` +* `path.data` +* `network.host` +* `cluster.routing.schedule` +* `path.plugins` +* `http.cors.enabled` +* `http.cors.allow-origin` + +The advantage of using this file is that the elasticsearch node is automatically restarted in order to reload the +settings as soon as you change the cfg file. + ==== Embedding Decanter Kibana In addition of the embedded elasticsearch instance, Decanter also provides an embedded Kibana instance, containing