As a prerequisite before executing code I have installed Elasticsearch and Cluster Logging operators and created the ClusterLogging instance using below yml and then I have executed the code but logs are not getting generated into Splunk.
What I found the Elasticsearch pods are running but fails to get ready with below event message however this is not related to code its related to prerequisite but even then could you please suggest me something, did I provided proper details to create ClusterLogging instance.
ERROR : Readiness probe failed: Elasticsearch node is not ready to accept HTTP requests yet [response code: 000]
As a prerequisite before executing code I have installed Elasticsearch and Cluster Logging operators and created the ClusterLogging instance using below yml and then I have executed the code but logs are not getting generated into Splunk.
apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: "openshift-logging" spec: managementState: "Managed"
logStore: type: "elasticsearch"
retentionPolicy: application: maxAge: 1d infra: maxAge: 7d audit: maxAge: 7d elasticsearch: nodeCount: 3 storage: storageClassName: "gp2" size: 200G resources: requests: memory: "8Gi" proxy: resources: limits: memory: 256Mi requests: memory: 256Mi redundancyPolicy: "SingleRedundancy"
visualization: type: "kibana"
kibana: replicas: 1 curation: type: "curator" curator: schedule: "30 3 *" collection: logs: type: "fluentd"
fluentd: {}
What I found the Elasticsearch pods are running but fails to get ready with below event message however this is not related to code its related to prerequisite but even then could you please suggest me something, did I provided proper details to create ClusterLogging instance.
ERROR : Readiness probe failed: Elasticsearch node is not ready to accept HTTP requests yet [response code: 000]
This is on OpenShift 4.6. Thanks!