$ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h55m snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc apply -f /tmp/cluster-logging.yaml clusterlogging.logging.openshift.io/instance unchanged snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc apply -f /tmp/logforwarder.yaml clusterlogforwarder.logging.openshift.io/instance configured snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h56m collector-g2t5b 2/2 Running 0 5s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc delete -f /tmp/logforwarder.yaml clusterlogforwarder.logging.openshift.io "instance" deleted snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h56m collector-wcsln 2/2 Running 0 17s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h56m collector-wcsln 2/2 Running 0 18s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h56m collector-wcsln 2/2 Running 0 19s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h56m collector-wcsln 2/2 Running 0 19s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc describe clusterloggings.logging.openshift.io -n openshift-logging instance Name: instance Namespace: openshift-logging Labels: Annotations: API Version: logging.openshift.io/v1 Kind: ClusterLogging Metadata: Creation Timestamp: 2023-05-02T12:14:17Z Generation: 1 Managed Fields: API Version: logging.openshift.io/v1 Fields Type: FieldsV1 fieldsV1: f:metadata: f:annotations: .: f:kubectl.kubernetes.io/last-applied-configuration: f:spec: .: f:collection: .: f:fluentd: f:type: f:curation: .: f:curator: .: f:schedule: f:type: f:managementState: Manager: kubectl-client-side-apply Operation: Update Time: 2023-05-02T12:14:17Z API Version: logging.openshift.io/v1 Fields Type: FieldsV1 fieldsV1: f:status: .: f:collection: .: f:logs: .: f:fluentdStatus: .: f:daemonSet: f:nodes: .: f:collector-wcsln: f:pods: .: f:failed: f:notReady: f:ready: f:conditions: f:curation: f:logStore: f:visualization: Manager: cluster-logging-operator Operation: Update Subresource: status Time: 2023-05-02T14:27:43Z Resource Version: 235809 UID: 4cd77dfe-f6b1-422e-9e97-55a312af330c Spec: Collection: Fluentd: Type: fluentd Curation: Curator: Schedule: 30 3 * * * Type: curator Management State: Managed Status: Collection: Logs: Fluentd Status: Daemon Set: collector Nodes: Collector - Wcsln: master0.a1202-7-11-u19-s4-oe19-sno.lab.neat.nsn-rdnet.net Pods: Failed: Not Ready: Ready: collector-wcsln Conditions: Last Transition Time: 2023-05-02T14:27:43Z Message: ClusterLogForwarder input validation error Reason: ClusterLogForwarder input validation error Status: True Type: CollectorDeadEnd Curation: Log Store: Visualization: Events: snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h57m collector-wcsln 2/2 Running 0 43s snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc logs -n openshift-logging collector-wcsln error: a container name must be specified for pod collector-wcsln, choose one of: [collector logfilesmetricexporter] snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc logs -n openshift-logging collector-wcsln collector > collector_pod_logs.txt snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ vi collector_pod_logs.txt snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc logs -n openshift-logging collector-wcsln logfilesmetricexporter > logfilesmetricexporter_logs.txt snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc logs -n openshift-logging cluster-logging-operator-9b894d49c-mx7sb > clo_pod_logs.txt snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ vi clo_pod_logs.txt snagendr@wsl2-u20.04-nokia:~/OCP/ocp-configurations (logging_sno=) $ oc get pods -n openshift-logging NAME READY STATUS RESTARTS AGE cluster-logging-operator-9b894d49c-mx7sb 1/1 Running 0 6h59m collector-wcsln 2/2 Running 0 2m49s