django systemd-journal aggregator
This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Christophe Siraut 15a86db009 misc: add time sorting 2020-10-29 17:46:25 +01:00
debian README: documentation update 2020-09-11 16:03:43 +02:00
logtracker misc: add time sorting 2020-10-29 17:46:25 +01:00
tests tests: json object must be string 2020-09-09 09:13:34 +02:00
.gitignore start logtracker 2019-11-12 15:18:01 +01:00
Jenkinsfile start logtracker 2019-11-12 15:18:01 +01:00
MANIFEST.in misc: rework mail application and tests 2020-09-04 14:37:28 +02:00
README README: documentation update 2020-09-11 16:03:43 +02:00
manage.py start logtracker 2019-11-12 15:18:01 +01:00
setup.py disable pytest at build time 2020-08-18 14:54:17 +02:00
tox.ini misc: rework mail application and tests 2020-09-04 14:37:28 +02:00

README

Logtracker
===========

Logtracker is a django application that aggregates and displays log entries.

1. Server installation

Clients upload using ssl certificates, ensure x-http-ssl* headers are added by
upstream haproxy or nginx (see provided examples).

2. Clients installation

2.1 using curl

 $ journalctl -o export --no-pager --cursor-file=~/.config/logtracker.cursor | curl -sS -X POST --cacert /etc/ssl/certs/ca-certificates.crt --cert $CERT --key $KEY --data-binary @- https://$HOST/upload

2.2
 * using systemd-journal-upload:
 ** install systemd-journal-remote
 ** in order to upload containers journals, override systemd-journal-upload.service with :  ExecStart = /lib/systemd/systemd-journal-upload -m --save-state
 ** in /etc/systemd/journal-upload.conf configure URL, ServerKeyFile, ServerCertificateFile and TrustedCertificateFile
 ** enable and start systemd-journal-upload.service