To make changes to your OpenShift Logging environment, create and modify the
ClusterLogging custom resource (CR).
Instructions for creating or modifying a CR are provided in this documentation as appropriate.
The following example shows a typical custom resource for OpenShift Logging.
ClusterLogging custom resource (CR)
name: "instance" (1)
namespace: "openshift-logging" (2)
managementState: "Managed" (3)
type: "elasticsearch" (4)
schedule: "30 3 * * *"
||The CR name must be
||The CR must be installed to the
||The Cluster Logging Operator management state. When set to
unmanaged the operator is in an unsupported state and will not get updates.
||Settings for the log store, including retention policy, the number of nodes, the resource requests and limits, and the storage class.
||Settings for the visualizer, including the resource requests and limits, and the number of pod replicas.
||Settings for curation, including the resource requests and limits, and curation schedule.
||Settings for the log collector, including the resource requests and limits.