Skip to content

How does Seq map the GELF Log Levels from Seq.Input.Gelf plugin into CLEF Log Levels? #2324

Answered by KodrAus
apatenge asked this question in Help
Discussion options

You must be logged in to vote

Hi @apatenge 👋

The source for the level mapping between CLEF and GELF lives here: https://github.com/datalust/seq-input-gelf/blob/dev/sqelf/src/process/mod.rs#L181-L189

That value is then converted into a Serilog level by seqcli here: https://github.com/datalust/seqcli/blob/8c0e0e21aeaf77d0e9597d6c3fa5efbca71471a5/src/SeqCli/Levels/LevelMapping.cs#L29-L77

There is indeed a gap there where we're not mapping the alert level.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by apatenge
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@apatenge
Comment options

Comment options

You must be logged in to vote
1 reply
@apatenge
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants