-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with filelog Receiver: "no files match the configured criteria" #36969
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Are you certain that the user that the collector is running as has permissions to read the log file? Can you triple check with an |
I want to get /var/log/sayslog from host machine |
facing the same issue "2025-01-19T14:00:31.599Z debug fileconsumer/file.go:123 finding files {"kind": "receiver", "name": "filelog", "data_type": "logs", "component": "fileconsumer", "error": "no files match the configured criteria"}" below is my receiver section:
|
Component(s)
receiver/filelog
Describe the issue you're reporting
Description:
I'm encountering an issue with the filelog receiver in the OpenTelemetry Collector when attempting to read log files. The error message indicates that no files match the configured criteria, even though the file exists and contains logs.
Here is the error message:
fileconsumer/file.go:49 finding files {"kind": "receiver", "name": "filelog", "data_type": "logs", "component": "fileconsumer", "error": "no files match the configured criteria"}
The log file contains the following entries:
Here is the configuration I am using:
The text was updated successfully, but these errors were encountered: