summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/templates
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2017-02-21 13:18:29 -0700
committerRich Megginson <rmeggins@redhat.com>2017-02-21 13:18:29 -0700
commitcf9ad2651915c2c328c4402e410feb4c7abd122f (patch)
tree68ced877d21f1ded8962b943f3a354d144a231a4 /roles/openshift_logging/templates
parentdde7fc686f14f4dbd7ac93aefad4ddb7ed1269fd (diff)
downloadopenshift-cf9ad2651915c2c328c4402e410feb4c7abd122f.tar.gz
openshift-cf9ad2651915c2c328c4402e410feb4c7abd122f.tar.bz2
openshift-cf9ad2651915c2c328c4402e410feb4c7abd122f.tar.xz
openshift-cf9ad2651915c2c328c4402e410feb4c7abd122f.zip
Bug 1420219 - No log entry can be found in Kibana UI after deploying logging stacks with ansible
https://bugzilla.redhat.com/show_bug.cgi?id=1420219 The elasticsearch config was missing the common data model stanza
Diffstat (limited to 'roles/openshift_logging/templates')
-rw-r--r--roles/openshift_logging/templates/elasticsearch.yml.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/elasticsearch.yml.j2 b/roles/openshift_logging/templates/elasticsearch.yml.j2
index dad78b844..8021a476d 100644
--- a/roles/openshift_logging/templates/elasticsearch.yml.j2
+++ b/roles/openshift_logging/templates/elasticsearch.yml.j2
@@ -38,6 +38,11 @@ gateway:
io.fabric8.elasticsearch.authentication.users: ["system.logging.kibana", "system.logging.fluentd", "system.logging.curator", "system.admin"]
+openshift.config:
+ use_common_data_model: true
+ project_index_prefix: "project"
+ time_field_name: "@timestamp"
+
openshift.searchguard:
keystore.path: /etc/elasticsearch/secret/admin.jks
truststore.path: /etc/elasticsearch/secret/searchguard.truststore