Skip to content

Enable log.format.json.fix_duplicate_message_fields by default - #16578

Merged
kaisecheng merged 3 commits into
elastic:mainfrom
kaisecheng:json_duplicate_message_field_default
Oct 17, 2024
Merged

kaisecheng merged 3 commits into
elastic:mainfrom
kaisecheng:json_duplicate_message_field_default

Conversation

@kaisecheng

Copy link
Copy Markdown
Contributor

Release notes

Enable log.format.json.fix_duplicate_message_fields by default to avoid collision of the message field in log lines when log.format is JSON.

What does this PR do?

enable log.format.json.fix_duplicate_message_fields by default for v9

Why is it important/What is the impact to the user?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@andsel andsel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@andsel
andsel self-requested a review October 17, 2024 14:04

@andsel andsel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM once it's green.

@elastic-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @kaisecheng

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.

Enable log.format.json.fix_duplicate_message_fields by default

4 participants