Comments (8)
Hi @Mattes83, thanks for getting in touch.
Do you have the "enable diagnostics" checkbox in the GELF input's settings page checked? I believe this will cause more information to be written when message parsing fails. (You can then see these messages by clicking the number with the zigzag arrow icon next to the input's name in the Settings > Apps screen.)
If you're running the input as a datalust/squelf
Docker container instance, you can alternatively set GELF_ENABLE_DIAGNOSTICS=True
in its environment.
Let me know if this helps,
Nick
from seq-input-gelf.
Hi Nick,
thanks for the hint where to find the diagnostic logs.
When using the docker version Seq does not list Sqelf Input under Settings -> Apps. I am not sure if this is a known quirk?!
In my case I could easily circumvent this by installing the GELF plugin via Seq's web ui and deactivating the sidecar container.
from seq-input-gelf.
Great, thanks for the follow-up, @Mattes83 👍
from seq-input-gelf.
Hi again,
I guess I closed this issue too early. I was able to enable the diagnostics, but there is still no information about the original message that could not be processed.
Do you have any idea how to track this down?
Best Regards
from seq-input-gelf.
Hi @Mattes83 - we'll put our heads together and let you know what we come up with. It might require enhancing the diagnostic, which is produced in: https://github.com/datalust/sqelf/blob/dev/sqelf/src/server/mod.rs#L210
from seq-input-gelf.
It looks like we only include the raw payload (what was originally sent by the GELF logger) on events that were parsed and processed correctly.
I'll improve our diagnostics a bit here by replacing our current error handling with anyhow
so that we can include a portion of a payload that couldn't be parsed if we hit one. That might make it easier for you to track down where it's coming from.
from seq-input-gelf.
Hi @Mattes83 We've published a new version of the package and container (as version 2.0.298
) that includes a fragment of the invalid payload when it can't be parsed. If you update your Seq app and keep the extended diagnostics enabled you should get some more details about the event that couldn't be parsed.
from seq-input-gelf.
Thats great news. I will try it with the updated version, thanks for the enhancement
from seq-input-gelf.
Related Issues (20)
- Ingestion failed: Invalid URI: The URI scheme is not valid. HOT 3
- Spurious error logs when diagnostics enabled with TLS HOT 2
- control charater found while parsing a string HOT 1
- invalid unicode code point ? HOT 5
- select another timestamp key HOT 2
- Filter out "Empty" information messages HOT 2
- bin/sqelf: No such file or directory HOT 3
- The App Process is Stopped HOT 1
- Connection to Seq using gelf refusing HOT 1
- Add HTTP support HOT 2
- High memory consumption HOT 1
- All events from Docker Imported as Error Level in Seq HOT 6
- Add support for docker secrets HOT 2
- Nothing being received in Seq? (Laravel / Gelf / Seq) HOT 5
- sqelf in Docker doesn't listen on 12201/TCP HOT 4
- "GELF processing failed irrecoverably" stops the receiver HOT 7
- ARM64 container for seq-input-gelf HOT 7
- "No template provided" HOT 14
- Question: Regex transformation of message possible? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seq-input-gelf.