Skip to content

Conversation

koenbollen
Copy link
Owner

This pull request adds support for message in a nested object.

$ echo '{"level": "INFO", "fields": {"message": "Hi"}}' | jl
   INFO: Hi

Fields in the nested object will be automatically included:

$ echo '{"level": "INFO", "fields": {"message": "Hi", "user": 611}}' | jl
   INFO: Hi [fields.user=611]

Closes #26

@koenbollen koenbollen mentioned this pull request Jun 17, 2023
Base automatically changed from support-journald to master July 8, 2023 10:59
This change introduces processors for specific output and the processor
for journald.
The journald processor will parse __REALTIME_TIMESTAMP and PRIORITY make
the log entries compatible with normal jl output.
@koenbollen koenbollen merged commit 852b8f6 into master Jul 8, 2023
@koenbollen koenbollen deleted the nested-message branch July 8, 2023 11:05
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.

1 participant