Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

macros: extract type information from MESSAGE, PROGRAM and HOST #5024

Merged

Conversation

HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Jul 18, 2024

MESSAGE in particular can contain not just string data, but for example JSON as well.

This is necessary for the $(format-json) function to work properly with a json type MESSAGE.

Kudos to b1oodborne from Discord for finding this issue.

Signed-off-by: Attila Szakacs attila.szakacs@axoflow.com

Backport: #162

alltilla added 2 commits July 18, 2024 12:12
MESSAGE in particular can contain not just string
data, but for example JSON as well.

This is necessary for the $(format-json) function
to work properly with a json type MESSAGE.

Kudos to b1oodborne from Discord for finding this
issue.

Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
@HofiOne HofiOne requested a review from kovgeri01 July 18, 2024 10:18
@HofiOne HofiOne merged commit 53ac0cc into syslog-ng:master Jul 18, 2024
23 checks passed
@HofiOne HofiOne deleted the extract-type-info-from-further-macros branch July 18, 2024 14:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants