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

Set cluster_name for host logs too if renameFieldsSck is enabled #837

Merged

Conversation

vinzent
Copy link
Contributor

@vinzent vinzent commented Jun 28, 2023

Up to now the cluster_name field was only set in resource/logs. This snippet was only included for the container logs, but not for host logs (files, journald).

This change moves the cluster_name field to the resource snippet, which is according inline comment used for all things that pass through otel.

Fixes #682

@vinzent vinzent requested review from a team as code owners June 28, 2023 12:00
Copy link
Contributor

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @vinzent can you please add a changelog entry?

Up to now the cluster_name field was only set in `resource/logs`. This
snippet was only included for the container logs, but not for host logs
(files, journald).

This change moves the cluster_name field to the `resource` snippet,
which is according inline comment used for all things that pass through
otel.

Fixes signalfx#682
@vinzent vinzent force-pushed the feature/sck-cluster-name-for-host-logs branch from b294211 to 0c1ca88 Compare June 29, 2023 05:07
@vinzent
Copy link
Contributor Author

vinzent commented Jun 29, 2023

@dmitryax added changelog entry.

@dmitryax dmitryax merged commit 70fb9d3 into signalfx:main Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

splunkPlatform.fieldNameConvention.renameFieldsSck doesn't cover journald units or extraFileLogs
2 participants