-
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
[receiver/filelog] Add settings to annotate file owner and group names #30776
[receiver/filelog] Add settings to annotate file owner and group names #30776
Conversation
2c5d76c
to
1f028d4
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I had reviewed this earlier but must not have clicked submit. Sorry about that.
776951b
to
cbc1cb9
Compare
1550dbb
to
bacf104
Compare
Hi @djaglowski, |
I don't know much about windows. If it doesn't work on windows, then I think it's ok to keep exclude the operating system:
|
0980e76
to
084209d
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
thanks @djaglowski for the review. |
a990ab2
to
52eb76d
Compare
5da3b43
to
b81b876
Compare
b81b876
to
7f26aa4
Compare
bd8f20f
to
b575c05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tprelle
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.
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 attributelog.file.group
.Link to tracking Issue: #30775
Testing: Add unity test
Documentation: Add documentation on file_input and file log receiver.