datalust / seq-api

HTTP API client for Seq
https://datalust.co/seq
Apache License 2.0
77 stars 21 forks source link

Api ingested events not showing up #112

Closed LaurentLardenois closed 2 years ago

LaurentLardenois commented 2 years ago

Hi,

I am trying to make a log proxy api for events that get thrown by Auth0, since these have a different format than Seq wants to receive. However these events that I post to the api (/api/events/raw?clef with Content-Type 'application/vnd.serilog.clef') don't show up in the list with events, I have tried this on several log levels and with very simple logging messages to test if it was a mistake on my side, but alas, noting seems to work. I have tried this with Unauthenticated and MinimumLevelAccepted Verbose, and a valid api key with MinimumLevelAccepted Verbose, for both these calls the ingestions also show up in the ingestion overview without errors.

The payloads I used as simple tests are: {"@t":"2022-05-02T03:44:57.8532799Z", "@l":"Debug","@m":"Hello","User":"alice"} {"@t":"2022-05-02T03:44:57.8532799Z", "@l":"Debug","@mt":"Hello, {User}","User":"alice"} {"@t":"2022-05-02T03:44:57.8532799Z", "@l":"Error","@m":"Hello","User":"alice"} {"@t":"2022-05-02T03:44:57.8532799Z", "@l":"Error","@mt":"Hello, {User}","User":"alice"}

If I deliberately make these payloads invalid the api will give me an error response, but on a successful 201 created response the events do not show up in the dashboard. What am I doing wrong?

I am using the docker image datalust/seq:2022.1

LaurentLardenois commented 2 years ago

I dun goofed