From cf9ad2651915c2c328c4402e410feb4c7abd122f Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 21 Feb 2017 13:18:29 -0700 Subject: 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 --- roles/openshift_logging/templates/elasticsearch.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/openshift_logging/templates') 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 -- cgit v1.2.3