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

Fix namespace logged twice #7640

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

barkbay
Copy link
Contributor

@barkbay barkbay commented Mar 18, 2024

Fix a log in which the namespace is logged twice (which generates an invalid json document):

{"log.level":"info","@timestamp":"2024-03-16T16:00:00.042Z","log.logger":"agent-es","message":"Deleting secret","service.version":"2.10.0+foo","service.type":"eck","ecs.version":"1.4.0","iteration":"14","namespace":"my-ns","agent_name":"my-fleet-server","namespace":"my-ns","secret_name":"my-fleet-server-my-ns-elasticsearch-prod-agent-user","associated_name":"my-fleet-server"}

@barkbay barkbay added >bug Something isn't working v2.13.0 labels Mar 18, 2024
Copy link
Contributor

@naemono naemono left a comment

Choose a reason for hiding this comment

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

lgtm

@barkbay barkbay merged commit 30b2322 into elastic:main Mar 18, 2024
5 checks passed
@barkbay barkbay deleted the fix-namespace-logged-twice branch March 18, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v2.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants