No logs are seen in the Observe > Logs dashboard in LokiStack
Issue
- No logs are seen in the webconsole Observe > Logs dashboard. A text displaying error ! is observed on the console.
- All the pods are up and running but the logs dashboard displays only error !
- Collector pods constantly logging the following:
[ vector ]
2022-12-02T13:21:50.496825Z ERROR sink{component_kind="sink" component_id=default_loki_infra component_type=loki component_name=default_loki_infra}:request{request_id=262}: vector_core::stream::driver: Service call failed. error=HttpError { error: CallRequest { source: hyper::Error(Connect, Custom { kind: Other, error: ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }) }) } } request_id=262
[ fluentd ]
2022-12-02 13:34:05 +0000 [warn]: [default_loki_infra] failed to flush the buffer. retry_times=2 next_retry_time=2022-12-02 13:34:10 +0000 chunk="5eed86400ae9523d33852b3a3c13b3f4" error_class=SocketError error="Failed to open TCP connection to logging-loki-gateway-http.openshift-logging.svc:8080 (getaddrinfo: Name or service not known)"
Environment
- Red Hat OpenShift Container Platform
- 4.10+
- Red Hat OpenShift Logging 5.5.4
- Loki Operator 5.5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.