summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2017-03-21 20:28:51 -0600
committerRich Megginson <rmeggins@redhat.com>2017-03-21 20:28:51 -0600
commitc4fcf9ef11b4dfc27f8f1e509719864f0ef2d019 (patch)
treeeb08f9dfea24e3b7d8b6593eab5a9e413a4080e9
parent6721d891293a27440deaba92d5203e3a225d46b6 (diff)
downloadopenshift-c4fcf9ef11b4dfc27f8f1e509719864f0ef2d019.tar.gz
openshift-c4fcf9ef11b4dfc27f8f1e509719864f0ef2d019.tar.bz2
openshift-c4fcf9ef11b4dfc27f8f1e509719864f0ef2d019.tar.xz
openshift-c4fcf9ef11b4dfc27f8f1e509719864f0ef2d019.zip
Bug 1434300 - Log entries are generated in ES after deployed logging stacks via ansible, but can not be found in kibana.
https://bugzilla.redhat.com/show_bug.cgi?id=1434300 Add support for common data model index pattern files. Depends on https://github.com/ViaQ/elasticsearch-templates/pull/36 and https://github.com/openshift/origin-aggregated-logging/pull/357
-rw-r--r--roles/openshift_logging/templates/elasticsearch.yml.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/elasticsearch.yml.j2 b/roles/openshift_logging/templates/elasticsearch.yml.j2
index 21708dc12..9ed20e40e 100644
--- a/roles/openshift_logging/templates/elasticsearch.yml.j2
+++ b/roles/openshift_logging/templates/elasticsearch.yml.j2
@@ -37,6 +37,8 @@ gateway:
recover_after_time: ${RECOVER_AFTER_TIME}
io.fabric8.elasticsearch.authentication.users: ["system.logging.kibana", "system.logging.fluentd", "system.logging.curator", "system.admin"]
+io.fabric8.elasticsearch.kibana.mapping.app: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json
+io.fabric8.elasticsearch.kibana.mapping.ops: /usr/share/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json
openshift.config:
use_common_data_model: true