Skip to content
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

K8sObjectReciever logs processor #36167

Open
fordneild opened this issue Nov 4, 2024 · 4 comments
Open

K8sObjectReciever logs processor #36167

fordneild opened this issue Nov 4, 2024 · 4 comments
Labels

Comments

@fordneild
Copy link

fordneild commented Nov 4, 2024

Component(s)

receiver/k8sobjects

Is your feature request related to a problem? Please describe.

I need some mechanism to enrich the logs that are generated from the k8sobjectreciever, to add fields such as the host.

Describe the solution you'd like

The filelog reciever has a very flexible pipeline which allows me to enrich normal logs with information such as the host.

Describe alternatives you've considered

Ive considered adding random labels to all of my k8s objects, which specify the host, but imo that is a fairly gross solution with a lot of bloat. Also this isnt always possible for 3rd party resources.

Additional context

Even the ability to add a static map to the generated json logs would be very useful, it need not be as complex as the filelog reciever

@fordneild fordneild added enhancement New feature or request needs triage New item requiring triage labels Nov 4, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@ChrsMark
Copy link
Member

ChrsMark commented Nov 5, 2024

I need some mechanism to enrich the logs that are generated from the k8sobjectreciever, to add fields such as the host.

Could you elaborate more on what attributes you would like to add? From this description it's not clear to me.

@atoulme
Copy link
Contributor

atoulme commented Nov 9, 2024

See k8sattributesprocessor to decorate signals from pods/nodes.

@atoulme atoulme removed the needs triage New item requiring triage label Nov 9, 2024
Copy link
Contributor

github-actions bot commented Jan 8, 2025

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 @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants