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

Deduplicate message templates when written by RenderedCompactJsonFormatter #956

Open
ngbrown opened this issue Jun 25, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ngbrown
Copy link

ngbrown commented Jun 25, 2024

When using RenderedCompactJsonFormatter, instead of outputting the message template (in @mt) and relying on the reading program to substitute in all the parameters, @m has the fully rendered text. The unique template hash is in @i.

The list of message templates on the right side of the app should de-duplicate among all the entries with the same @i (definition). Since the actual used template isn't available, just say something like "and xx similar".

When clicking on an entry on the right side, instead filter on @i or @EventId instead of @MessageTemplate.

That way the message template filter will work the same, and an application isn't strictly necessary to read a JSON written log file.

@ngbrown ngbrown added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant