Comments (7)
Thanks for the follow-up. Gandelf is cool 🙂.
sqelf
is a native Rust GELF server that's developed in this repo (not Ruby 😁). We kicked it off because we wanted to run the same code in a low-dependency Seq plug-in ([Seq.Input.Gelf}(https://nuget.org/packages/seq.input.gelf)), among other things.
Currently, the run.sh
in the sqelf
container's Dockerfile uses exec
to swap out the initial bash
process for sqelf
- which won't necessarily cause the container to exit if the child seqcli
process fails. We think we can improve on this by dropping the exec
and setting the pipefail
Bash option. Fingers crossed this will cause any process-level failures to propagate and get noticed by the host.
It's also possible that this issue is a hang or other kind of bug in sqelf
or seqcli
- if so, we'll be on the case and try to track it down.
Cheers,
Nick
from seq-input-gelf.
Thanks for the note, @svrooij - we'll take a look and let you know what we come up with.
from seq-input-gelf.
I just found a real nice bridge between gelf and seq (among others) https://github.com/jwulf/Gandelf but it had some small double encoding issue, that I fixed in my fork.
Your solution used some ruby gelf server that is pipes to your seqcli tool. The Gandelf solution uses a node Gelf-server and then does a call to the api. If the proces crashes it will automatically kill the container (which can then be restarted by docker auto restart).
from seq-input-gelf.
We've just published a new version of the Docker container as datalust/sqelf:1.0.205
. This includes some changes to the run.sh
script so that if either side of the pipe fails we'll exit the container with a non-zero code.
from seq-input-gelf.
I think we should close this and see how the newer version goes in the wild - please let us know if you decide to redeploy it, @svrooij - thanks!
from seq-input-gelf.
@nblumhardt I've redeployed it and it's running the logs of a few containers. Will let you guys know if the stability changed.
from seq-input-gelf.
Awesome, thanks @svrooij 👍
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
- GELF processing failed HOT 8
- 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.