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

Add support for more structured mlogfilter JSON output #735

Open
stennie opened this issue Sep 18, 2019 · 1 comment
Open

Add support for more structured mlogfilter JSON output #735

stennie opened this issue Sep 18, 2019 · 1 comment

Comments

@stennie
Copy link
Collaborator

stennie commented Sep 18, 2019

mlogfilter --json output currently outputs a limited set of extracted fields with an array of split_tokens (using space as a delimiter) that do not have context.

More complete output of parsed log fields would be useful to convert logs for manipulation with jq or importing into other systems.

@stennie stennie added this to the 1.6.0 milestone Sep 18, 2019
@stennie stennie self-assigned this Sep 18, 2019
@stennie stennie modified the milestones: 1.6.0, 1.6.1 Dec 23, 2019
@stennie stennie modified the milestones: 1.6.1, 1.6.2 Jan 2, 2020
@stennie stennie modified the milestones: 1.6.2, 1.6.3 Feb 4, 2020
@stennie stennie added this to the 1.7.0 milestone Jun 15, 2020
@stennie
Copy link
Collaborator Author

stennie commented Jun 15, 2020

The output should align with MongoDB 4.4+ structured logging (aka logv2).

This would allow legacy logs to be roughly converted to the logv2 format for manipulation with newer tooling, although compatibility will generally be limited to field names rather than values.

@stennie stennie removed this from the 1.7.0 milestone Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant