https://signoz.io logo
#support
Title
# support
l

lior hollander

06/25/2023, 9:02 AM
Hi, deployed signoz on openshift 4.10 with the kubernetes helm chart, can't seem to get logs, getting errors on the otel agent: 2023-06-25T085432.640Z warn fileconsumer/file.go:63 no files match the configured include patterns {"kind": "receiver", "name": "filelog/k8s", "data_type": "logs", "component": "fileconsumer", "include": ["/var/log/pods/*/*/*.log", "/var/log/pods/*/*.log"], "exclude": []}
v

Vishal Sharma

06/27/2023, 3:22 AM
Maybe @Prashant Shahi can help here?
l

lior hollander

06/27/2023, 8:08 AM
anybody?
p

Prashant Shahi

06/27/2023, 8:57 AM
You will need to update
/var/log/pods/**/**.log
with the relevant log path.
l

lior hollander

06/27/2023, 9:25 AM
what is the relevant log path?
p

Prashant Shahi

06/27/2023, 10:52 AM
Here are some common paths for logs: •
/var/log/pods
/var/log/containers
@lior hollander which container runtime is being used?
l

lior hollander

06/27/2023, 10:56 AM
Openshift 4.10 uses crio
p

Prashant Shahi

06/27/2023, 11:25 AM
log_dir="/var/log/crio/pods" The default log directory where all logs will go unless directly specified by the kubelet. The log directory specified must be an absolute directory.
Ref: https://github.com/cri-o/cri-o/blob/main/docs/crio.conf.5.md#crio-table
@lior hollander Do let us know if it helps.
l

lior hollander

06/28/2023, 4:33 PM
I'll hopefully return to it in a day or two, thanks for checking up.
3 Views