-
Bug
-
Resolution: Done
-
Major
-
Logging 5.4.2
-
False
-
None
-
False
-
NEW
-
VERIFIED
-
Before this update, each roll over job created empty indices when the `ClusterLogForwarder` custom resource had JSON parsing defined. With this update, new indices are not empty.
-
High
-
-
Log Storage - Sprint 222, Log Storage - Sprint 223, Log Storage - Sprint 224
-OCP version 4.10
-RHOL VERSION 5.4( cluster-logging.5.4.2 and elasticsearch-operator.5.4.2)
After enabling parsing JSON logs functionality in ClusterLogForwarder (CLF) instance, new empty indices (app, infra, and audit) are created without fulfilling the following characteristics:
-The index is older than the rollover.maxAge value in the Elasticsearch CR.
-The index size is greater than 40 GB × the number of primary shards.
-The index doc count is greater than 40960 KB × the number of primary shards.
These new indices created are empty but they are created without complying with the characteristics that the cronjobs have to do the rollover. After a time we found a lot of empty indexes.
This could give performance problems since the indices use metadata.
Reproducing the environment with RHOL 5.3 I am not able to see the current issue.
- is cloned by
-
LOG-3063 Index management cronjobs are rolling over indices when parsing JSON is enabled and not expected
- Closed
- links to
- mentioned on