How to run teler as a systemd service? #274
-
I'm trying to run teler against an nginx access log, like the below from the docs:
However, all the resources I've found on the wiki/site have you run it in an active terminal session, or only analyze logs at a specific point in time. I'd like teler to analyze logs in real time, as they come in, and export it's own log in real time so it can be picked up by my SIEM system - which is configured to monitor teler's log file My many attempts to convert Is there a way to do this, and if so, how? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For now, teler does not support running in the background. It looks like it's possible to run the teler placed on systemd, for example in the resource I found here (original). But this has been our consideration to be able to do this on #276 (dependent #277). |
Beta Was this translation helpful? Give feedback.
-
Another straight tutorial on: Here's a simple example of daemonizing with automatic reloading on config change: https://gist.github.com/asheroto/ff192448bb27b27e7c2d7cefdc24f308 Originally posted by @asheroto in #276 (comment) |
Beta Was this translation helpful? Give feedback.
For now, teler does not support running in the background. It looks like it's possible to run the teler placed on systemd, for example in the resource I found here (original).
But this has been our consideration to be able to do this on #276 (dependent #277).