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
Agate 744b41d981 Prepare Jenkinsfile for Gitea migration (#74572) 2023-02-20 15:10:07 +01:00
debian doc: update haproxy example 2020-10-30 16:44:23 +01:00
logtracker upload: avoid warning naive datetime when timezone support active 2020-11-03 14:20:46 +01:00
tests tests: api endpoint does not page anymore 2020-10-30 14:18:12 +01:00
.gitignore start logtracker 2019-11-12 15:18:01 +01:00
Jenkinsfile Prepare Jenkinsfile for Gitea migration (#74572) 2023-02-20 15:10:07 +01:00
MANIFEST.in misc: rework mail application and tests 2020-09-04 14:37:28 +02:00
README README: add merge flag 2020-10-30 14:29:47 +01:00
manage.py start logtracker 2019-11-12 15:18:01 +01:00
setup.py setup.py: do not use changelog version 2020-10-30 14:00:57 +01:00
tox.ini tox: limit psycopg2 to < 2.9 (#54925) 2021-06-17 08:50:03 +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 -m --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