Bug 1845233 - Mapping "template" field becomes "index_patterns"
Summary: Mapping "template" field becomes "index_patterns"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.6.0
Assignee: Lukas Vlcek
QA Contact: Qiaoling Tang
URL:
Whiteboard:
: 1845235 (view as bug list)
Depends On:
Blocks: 1845146
TreeView+ depends on / blocked
 
Reported: 2020-06-08 17:40 UTC by Jeff Cantrill
Modified: 2020-10-27 16:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1845146
Environment:
Last Closed: 2020-10-27 16:05:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin-aggregated-logging pull 1904 0 None closed Bug 1845233: Mapping "template" field becomes "index_patterns" 2021-02-10 07:15:56 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:06:27 UTC

Comment 1 Jeff Cantrill 2020-06-08 17:46:23 UTC
*** Bug 1845235 has been marked as a duplicate of this bug. ***

Comment 4 Qiaoling Tang 2020-06-15 05:44:47 UTC
Verified with quay.io/openshift/origin-logging-elasticsearch6@sha256:414dec7b5fd98ebcbce1e52f1fced60cbe224a686dcbea30e7e2fbf21305bc85

sh-4.2$ ls /usr/share/elasticsearch/index_templates/
com.redhat.viaq-openshift-operations.template.json	 common.settings.operations.template.json	jaeger-span.json
com.redhat.viaq-openshift-operations.template.json.bkup  common.settings.operations.template.json.bkup	jaeger-span.json.bkup
com.redhat.viaq-openshift-project.template.json		 common.settings.project.template.json		org.ovirt.viaq-collectd.template.json
com.redhat.viaq-openshift-project.template.json.bkup	 common.settings.project.template.json.bkup	org.ovirt.viaq-collectd.template.json.bkup
common.settings.kibana.template.json			 jaeger-service.json
common.settings.kibana.template.json.bkup		 jaeger-service.json.bkup
sh-4.2$ cd /usr/share/elasticsearch/index_templates/
sh-4.2$ grep -r "index_patterns" -A 2
com.redhat.viaq-openshift-operations.template.json:  "index_patterns": [
com.redhat.viaq-openshift-operations.template.json-    "infra*",
com.redhat.viaq-openshift-operations.template.json-    "audit*"
--
com.redhat.viaq-openshift-project.template.json:  "index_patterns": [
com.redhat.viaq-openshift-project.template.json-    "app*"
com.redhat.viaq-openshift-project.template.json-  ],
--
common.settings.kibana.template.json:  "index_patterns": ".kibana*"
common.settings.kibana.template.json-}
--
common.settings.operations.template.json:  "index_patterns": [ "infra*", "audit*" ]
common.settings.operations.template.json-}
--
common.settings.project.template.json:  "index_patterns": [ "app*" ]
common.settings.project.template.json-}
--
jaeger-service.json:  "index_patterns": "*jaeger-service-*",
jaeger-service.json-  "settings":{
jaeger-service.json-    "index.number_of_shards": 3,
--
jaeger-span.json:  "index_patterns": "*jaeger-span-*",
jaeger-span.json-  "settings":{
jaeger-span.json-    "index.number_of_shards": 3,
--
org.ovirt.viaq-collectd.template.json:  "index_patterns": "project.ovirt-metrics-*",
org.ovirt.viaq-collectd.template.json-  "mappings": {
org.ovirt.viaq-collectd.template.json-    "_doc": {
--

Comment 6 errata-xmlrpc 2020-10-27 16:05:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196


Note You need to log in before you can comment on or make changes to this bug.