Skip to content

Rename host logging field#1730

Merged
stephencdaly merged 1 commit intomainfrom
rename-host-field-in-logging
Jan 29, 2025
Merged

Rename host logging field#1730
stephencdaly merged 1 commit intomainfrom
rename-host-field-in-logging

Conversation

@stephencdaly
Copy link
Copy Markdown
Contributor

@stephencdaly stephencdaly commented Jan 27, 2025

What problem does this pull request solve?

Rename the "host" logging field to "hostname". An additional "request_host" field is added to the logs that go to Splunk for Kenesis. This means we end up with 2 values for "host" making it difficult to filter searches by it.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Has all relevant documentation been updated?

@cadmiumcat cadmiumcat marked this pull request as ready for review January 28, 2025 15:28
cadmiumcat
cadmiumcat previously approved these changes Jan 28, 2025
Copy link
Copy Markdown
Contributor

@cadmiumcat cadmiumcat left a comment

Choose a reason for hiding this comment

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

Thanks!
I've deployed this to dev, the logs in splunk include the hostname and no host as expected

Rename the "host" logging field to "request_host". An additional
"host" field is added to the logs that go to Splunk for Kenesis. This
means we end up with 2 values for "host" making it difficult to filter
searches by it.
@stephencdaly stephencdaly force-pushed the rename-host-field-in-logging branch from f7d15d8 to d98e6b9 Compare January 29, 2025 11:08
@sonarqubecloud
Copy link
Copy Markdown

@stephencdaly stephencdaly merged commit 2314ba0 into main Jan 29, 2025
4 checks passed
@stephencdaly stephencdaly deleted the rename-host-field-in-logging branch January 29, 2025 11:14
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.

4 participants