Skip to content

Include file owner and group in Log Namespace #24290

@Hiruma31

Description

@Hiruma31

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Note: I suggest using log_namespace for this as it sounds less intrusive, but maybe a function like get_file_owner(path) could do ?

Similar to OTEL Collector filereceiver , the feature would be to include in the file source namespace the file owner and group.

Attempted Solutions

No response

Proposal

Currently (from what I tested) the namespace only holds host, offset and path.

The proposition would be to add owner and group to this to have more context on the file being ingested.

References

No response

Version

0.51.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureA value-adding code addition that introduce new functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions