elasticsearch jobs fail when not indice for an expected log type exists in RHOCP 4
Issue
-
Cronjob
elasticsearch-im-<type>
continues to fail every time when<type>
logs are not sent tologStore
:$ oc get pods -n openshift-logging | grep -i elasticsearch-im elasticsearch-im-app-xxxxx-xxxxx 0/1 Completed 0 2m24s elasticsearch-im-audit-xxxxx-xxxxx 0/1 Error 0 2m24s elasticsearch-im-infra-xxxxx-xxxxx 0/1 Completed 0 2m24s
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5.8.1 and newer versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.