You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a set up where we have a folder containing folders and files, the filelog receiver will fail to start scanning for files if told to scan for any content in the folder (/var/log/*).
If I'm understanding correctly, the doublestar library does not provide a way to match only files in such a case. We may have to post process the results to filter out directories. However, I've opened bmatcuk/doublestar#79 in hopes that this can be supported natively in the library.
Component(s)
pkg/stanza
What happened?
Description
In a set up where we have a folder containing folders and files, the filelog receiver will fail to start scanning for files if told to scan for any content in the folder (
/var/log/*
).Steps to Reproduce
Attached example as zip file.
Set up a docker-compose with the contents:
Set up config.yaml file:
Create a foo folder, containing a log file and a bar folder:
Run the collector.
Expected Result
The collector starts.
Actual Result
The collector continuously outputs an error:
Collector version
0.67.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
See above
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: