-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
Logging 5.8, Logging 5.6, Logging 5.7
-
False
-
-
False
-
-
-
Moderate
URL
SECTION
Configuring JSON log data for Elasticsearch
DESCRIPTION
It's said:
You can use the following structure types in the ClusterLogForwarder CR to construct index names for the Elasticsearch log store:
...
kubernetes.container_name uses the container name to construct the index name.
The kubernetes.container_name is one of the worst keys to be used as structuredTypeKey as ** JSON is enable for all the applications indices, it will create a population of new indices created in Elasticsearch that will kill the performance of Elasticsearch.
Then, or it's removed or even better, it should be indicated if choosen, then, only using for a subset of pods to avoid performance issues associated with having too many indices, consider keeping the number of possible schemas low by standardizing to common schemas as said later in the documentation in a general note.{}{}