-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Be able to include file owner and group as attribute on filelogreceiver #30775
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think this is reasonable assuming the following:
Additionally, I think we should separate this into two config flags e.g. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
#30776) **Description:** When you want to filter log on a shared host with multiple user, you want to be able to add owner and group of the file log. Currenly this lookup it's not possible so it's hard to filter after. If include_file_infos is true when reading a file on filelogreceiver, it will add the file owner as the attribute `log.file.owner` and the file group as the attribute `log.file.group`. **Link to tracking Issue:** #30775 **Testing:** Add unity test **Documentation:** Add documentation on file_input and file log receiver.
Closed by #30776 |
open-telemetry#30776) **Description:** When you want to filter log on a shared host with multiple user, you want to be able to add owner and group of the file log. Currenly this lookup it's not possible so it's hard to filter after. If include_file_infos is true when reading a file on filelogreceiver, it will add the file owner as the attribute `log.file.owner` and the file group as the attribute `log.file.group`. **Link to tracking Issue:** open-telemetry#30775 **Testing:** Add unity test **Documentation:** Add documentation on file_input and file log receiver.
Component(s)
receiver/filelog
Is your feature request related to a problem? Please describe.
When you want to filter log on a shared host with multiple user, you want to be able to add owner and group of the file log. Currenly this lookup it's not possible so it's hard to filter after.
Describe the solution you'd like
During the resolver code on the file consumer, we can retrieve these infos
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: