Graylog2 / Graylog2/graylog2-server

Missing `host_hostname` field in Collector receiver messages

Open
#26,038 0 comments 0 reactions 0 assignees View on GitHub
bug collector
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

~All messages from the file log receiver type are missing the `host_hostname` field. The field is present in the journald and windowseventlog messages.~

We should add a `host.name` [resource attribute](https://opentelemetry.io/docs/specs/semconv/registry/attributes/host/) to each OTel message via a processor. (similar to how we add the `collector.` resource attributes.

That way we get a consistent hostname for all log messages and don't have to rely on data from the log message itself.

For the own-logs of the supervisor and collector we have to set the programmatically because we can't configure their pipeline in YAML.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.