Project

General

Profile

Feature #11880

Centralize our servers' logs

Added by intrigeri about 3 years ago. Updated 8 months ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Infrastructure
Target version:
-
Start date:
10/16/2016
Due date:
% Done:

0%

Feature Branch:
Type of work:
Sysadmin
Blueprint:
Starter:
Affected tool:

Description

Right now we have volatile Journal + some persistent log files managed by rsyslog and individual applications. This sometimes makes it painful to debug problems since one has to cross-match info from various sources. It would be nicer if all our logs landed in a single place.

An initial idea to start brainstorming about it would be:

  • on each of our systems, send all logs to journald
  • configure these journalds to have volatile storage only (that's the default and what we currently do) and to forward them to a single journald instance running in a central place
  • in the central logging location, either have journald store logs in a persistent manner, or forward them to a fancy system like Graylog (that seems much easier to setup than an ELK stack)

History

#1 Updated by intrigeri about 3 years ago

  • Assignee set to bertagaz
  • QA Check set to Info Needed

bertagaz, does the rationale make sense to you? What about the initial implementation idea? (You can ignore the Graylog part for now if you want, it can be added later and thus considered independently.)

#2 Updated by bertagaz about 3 years ago

  • Assignee changed from bertagaz to intrigeri

intrigeri wrote:

bertagaz, does the rationale make sense to you?

It does!

What about the initial implementation idea? (You can ignore the Graylog part for now if you want, it can be added later and thus considered independently.)

Sounds reasonable. It raises the question about where to host this centralized log server though. If we were just storing the logs, maybe centralizing on the host would be enough. But Graylog (or similar) could be nice, and then we can't host that on the host itself. I also didn't look if it was packaged in Debian.

Did you open that because you intended to work on that?

#3 Updated by intrigeri about 3 years ago

It raises the question about where to host this centralized log server though. If we were just storing the logs, maybe centralizing on the host would be enough. But Graylog (or similar) could be nice, and then we can't host that on the host itself.

I had in a mind a dedicated VM on lizard.

I also didn't look if it was packaged in Debian.

graylog is not packaged, but most of its dependencies are, and there's a Puppet module to set it up and manage it.

Did you open that because you intended to work on that?

I'd like to do the centralized logging part soonish. The Graylog thing is something else entirely, and I don't want to bother about it too much before we are centralizing our logs already.

#4 Updated by intrigeri about 3 years ago

  • Subject changed from Consider centralizing our servers' logs to Centralize our servers' logs
  • QA Check deleted (Info Needed)

#5 Updated by intrigeri over 2 years ago

  • Priority changed from Normal to Low

#6 Updated by intrigeri 8 months ago

  • Assignee deleted (intrigeri)

Also available in: Atom PDF