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

Output logs using CLEF format #63

Open
bigswede74 opened this issue Jan 30, 2023 · 1 comment
Open

Output logs using CLEF format #63

bigswede74 opened this issue Jan 30, 2023 · 1 comment

Comments

@bigswede74
Copy link

I am sending logs to a local seq forwarder using the Serilog.Sinks.Seq sink with the CLEF format, however the forwarder is sending them as application/json.

{
    "Serilog": {
        "Using": [ "Serilog.Sinks.Seq" ],
        "MinimumLevel": "Information",
        "WriteTo": [
            {
                "Name": "Seq",
                "Args": {
                    "serverUrl": "http://localhost:15341",
                    "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact"
                }
            }
        ],
    }
}

Am I missing a seq forwarder configuration to specify CLEF?

Seq-Forwarder: v2.0.103
Serilog.Sinks.Seq: 5.2.2
Serilog: 2.12.0

@nblumhardt
Copy link
Member

Hi Brad, thanks for the note. Seq Forwarder doesn't support CLEF output (yet); it'd be a good change to make, I'm not sure when we'll have a chance to explore options/implement but we can track it with this ticket 👍

@nblumhardt nblumhardt changed the title Seq forwarder is not using CLEF format to send logs Output logs using CLEF format Jan 30, 2023
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

2 participants