Hacker News
What Is a Syslog Server?
brianjlogan
|next
[-]
I'd very much recommend a more modern log stack than a traditional syslog server.
There are many articles covering the limitations of Syslog. Better to replace that component by utilities like OpenTelemetry and JSON structured logging.
You can run a single binary version of Loki https://grafana.com/docs/loki/latest/get-started/deployment-...
Or use something like the Otel collector to send your logs to a remote host.
I have done my fair share of rsyslog and syslog-ng.
I would not say a "Syslog" server belongs in a modern stack.
skullone
|root
|parent
|next
[-]
otterley
|root
|parent
|next
[-]
xorcist
|root
|parent
|next
[-]
In fact, the queue management and at least the possibility of some rudimentary end-to-end cryptographic integrity checks are some of the stronger points of rsyslog. Splunk Cloud and Elastic, as far as I know, lacks the latter completely which rules them out as a single log sink for environments with that type of requirements.
otterley
|root
|parent
[-]
A modicum of research reveals that even the rsyslog documentation starts out with UDP for remote delivery: https://docs.rsyslog.com/doc/getting_started/beginner_tutori...
skullone
|root
|parent
[-]
otterley
|root
|parent
[-]
Well, maybe go observe how a broad array of sites implement it in practice, then you might take it more seriously. Maybe you don't implement it that way, but a lot of people will just follow the tutorials or shortcut their way to something that works (but is brittle).
At any rate, I was responding directly to the claim that "No one has suggested running syslog over unreliable transport" which is obviously untrue.
skullone
|root
|parent
[-]
lanstin
|root
|parent
|next
|previous
[-]
Audit logs are a distinct feature.
otterley
|root
|parent
[-]
Excess load can't take down a well-engineered log collection infrastructure. There can be overload, but the backpressure should propagate downstream and senders and intermediaries should buffer locally if needed. Once the collectors are able to catch up again, the spooled messages will be dispatched, and the backlog should recover.
A well-engineered logging system for sites that care about integrity and durability should look a lot like a distributed message queue.
> Audit logs are a distinct feature.
In my experience, this is not always as distinct as one might hope. On multiple occasions in my career, a customer demanded we perform research using our logs to answer, and the information they sought were not in the class of logs that were considered "audit logs" in advance. Everyone chooses differently what qualifies as "audit logs"; it doesn't have an objective definition.
skullone
|root
|parent
[-]
otterley
|root
|parent
[-]
shmoe
|root
|parent
|previous
[-]
Edit: being pedantic -- it's syslog-ng actually.
skullone
|root
|parent
[-]
xorcist
|root
|parent
|next
|previous
[-]
What you can do is have syslog ingestion for your Loki/Elastic/Splunk/whatever you use. But it will not magically structure your logs for you beyond the standard syslog date, host, severity, system, line of text format.
Both syslog products you mention are solid and mature, and absolutely has an important place in any modern environment. They manage queues, throttle, guarantee delivery and support any backend you can wish for.
Their respective rule engines are fast. They do log ingestion, and they slice data into fields and can enrich it (for example by resolving dns). This means rules are set in advance, and traps on data can be triggered immediately (not subject to races).
1970-01-01
|root
|parent
|next
|previous
[-]
edoceo
|root
|parent
[-]
aftbit
|root
|parent
|next
|previous
[-]
Exoristos
|root
|parent
|next
|previous
[-]
throw0101a
|root
|parent
|next
|previous
[-]
Once everything is sent to the syslog server it can be bounced to whatever 'non-traditional' stack you want.
My firewalls, PDUs, rear-door heat exchangers, etc, do not talk (nor can they run) "Loki". Just about everything in existence can (a) talk syslog and/or (b) send SNMP traps.
ang_cire
|next
|previous
[-]
Did you know you can replace your noSQL db with VSAM too (honestly better than mongo).
sophacles
|root
|parent
|next
[-]
IronWolve
|next
|previous
[-]
But with AI, I can see opensource alternatives getting better.
unethical_ban
|root
|parent
[-]
QuinnyPig
|previous
[-]
brianjlogan
|root
|parent
[-]
KubeCon over the last couple of years was showing the market was a glut with Observability vendors which is just time series and log management. (traces are logs with a span id).