I
I
Ilya T.2020-10-21 12:09:14
linux
Ilya T., 2020-10-21 12:09:14

Who knows a simple syslog?

Once upon a time, I set up syslog storage in mysql and wrote a primitive client for viewing in C#. Just view the database and filters on all fields. It was very convenient.
Now I work on a linux machine and the old client does not work here, and there is no time to write a new one. Before I start reinventing the wheel - tell me, maybe there is something ready and simple (ELK or graylog in my case is overkill). Ideally, this is a docker container that can be deployed and it will immediately listen to standard syslog messages and show them in some web interface with the ability to filter.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Valentine, 2020-10-21
@vvpoloskin

The most primitive syslog is netcat, which runs on a specific port and writes all output to a file. And viewing - there are a lot of tools for this in the console. And you are dockers, separate software ...

V
Vitaly Karasik, 2020-10-21
@vitaly_il1

Look at
https://goaccess.io/lnav.org

O
Oleg Volkov, 2020-10-21
@voleg4u

I love syslog-ng, but just rsyslog is also good for your purposes.
I filter messages using grep, I didn’t have to add anything.
The terminal graphics are enough for me to see the text.

I
Ilya T., 2020-10-31
@Insaned

That's about what I wanted:
1. Server
https://hub.docker.com/r/insaned/syslog
2. Client
https://github.com/Insaned79/syslog/releases
PS: assembled in a couple of evenings on my knee - please do not hit with slippers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question