Version-Release number of selected component (if applicable):
Server Version: 4.11.0-0.nightly-2022-04-26-181148
Kubernetes Version: v1.23.3+d464c70
Description of problem:
When using structuredTypeKey and structuredTypeName together in a ClusterLogForwarder instance, the logs are not sent to the fallback index when structuredTypeKey is missing from JSON logs.
Steps to reproduce:
1 Deploy Cluster Logging and Elasticsearch 5.5 operators.
2 Create a new project with the following log generator application.
3 Create a ClusterLogForwarder instance with an invalid structuredTypeKey.
4 Create the ClusterLogging instance.
6 Check the indices in the default Elasticsearch log store. The logs are sent to the app index instead of app-qa-index-name-00* index.