We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
receiver/filelog
In OpenTelemetry Collector V0.86.0 (Windows 2022 Server), does a filelog receiver with the following configuration produce an error.
The same configuration worked fine in OpenTelemetry Collector V0.85.0.
Configuration - "C://Users//*//AppData//Local//Application//Logs//App*.log"
- "C://Users//*//AppData//Local//Application//Logs//App*.log"
Error 2023-09-26T15:46:26.015-0700 warn fileconsumer/file.go:61 finding files: find files with 'C://Users//*//AppData//Local//Application//Logs//App*.log' pattern: open Default User: Access is denied.
2023-09-26T15:46:26.015-0700 warn fileconsumer/file.go:61 finding files: find files with 'C://Users//*//AppData//Local//Application//Logs//App*.log' pattern: open Default User: Access is denied.
Use the "OpenTelemetry Collector configuration" included and check the OtelCol log file.
The configuration that worked in V0.85.0 would still work in V0.86.0
v0.86.0
Windows 2022 Server
receivers: filelog: - "C://Users//user1//AppData//Local//Application//Logs//App*.log" - "C://Users//*//AppData//Local//Application//Logs//App*.log"
The first line works, while the second line does not work anymore.
No response
The text was updated successfully, but these errors were encountered:
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Sorry, something went wrong.
@kago-dk, we recently made a change so that errors encountered when trying to find files are logged. See #23768.
It's possible that what you are seeing is an error that was previously occurring but was not being logged.
Updated the configuration to exclude "Default User" - "C://Users//[!Default User]//AppData//Local//Application//Logs//App.log"
No branches or pull requests
Component(s)
receiver/filelog
What happened?
Description
In OpenTelemetry Collector V0.86.0 (Windows 2022 Server), does a filelog receiver with the following configuration produce an error.
The same configuration worked fine in OpenTelemetry Collector V0.85.0.
Configuration
- "C://Users//*//AppData//Local//Application//Logs//App*.log"
Error
2023-09-26T15:46:26.015-0700 warn fileconsumer/file.go:61 finding files: find files with 'C://Users//*//AppData//Local//Application//Logs//App*.log' pattern: open Default User: Access is denied.
Steps to Reproduce
Use the "OpenTelemetry Collector configuration" included and check the OtelCol log file.
Expected Result
The configuration that worked in V0.85.0 would still work in V0.86.0
Collector version
v0.86.0
Environment information
Environment
Windows 2022 Server
OpenTelemetry Collector configuration
The first line works, while the second line does not work anymore.
Log output
2023-09-26T15:46:26.015-0700 warn fileconsumer/file.go:61 finding files: find files with 'C://Users//*//AppData//Local//Application//Logs//App*.log' pattern: open Default User: Access is denied.
Additional context
No response
The text was updated successfully, but these errors were encountered: