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

[NP] add pid to LogRecord #56851

Merged
merged 5 commits into from
Feb 6, 2020
Merged

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Feb 5, 2020

Summary

Adds {pid} parameter for kind: 'pattern', but not use it in the default template.
For adds pid property for kind: 'json'.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Feb 5, 2020
@mshustov mshustov requested a review from a team as a code owner February 5, 2020 14:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Comment on lines -42 to 45
`${Parameters.Timestamp}|${Parameters.Level}|${Parameters.Context}|${Parameters.Message}`,
`${Parameters.Timestamp}|${Parameters.Level}|${Parameters.Context}|${Parameters.Message}|${Parameters.Pid}`,
'gi'
);
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Using something like Object.values(Parameters).concat('|') may be more maintainable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will add in the next PR, where I add another parameter 😅

@mshustov mshustov merged commit 5abca85 into elastic:master Feb 6, 2020
@mshustov mshustov deleted the log-record-format branch February 6, 2020 14:51
mshustov added a commit to mshustov/kibana that referenced this pull request Feb 6, 2020
* add pid to LogRecord

* fix wording

* update docs

* fix legacy_logging_server tests
mshustov added a commit that referenced this pull request Feb 7, 2020
* add pid to LogRecord

* fix wording

* update docs

* fix legacy_logging_server tests
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Feb 10, 2020
* add pid to LogRecord

* fix wording

* update docs

* fix legacy_logging_server tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants