]> git.ipfire.org Git - thirdparty/systemd.git/commit - .gitignore
journal: add minimal journal gateway daemon based on GNU libmicrohttpd
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Sep 2012 22:46:32 +0000 (00:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 27 Sep 2012 22:55:24 +0000 (00:55 +0200)
commit7b17a7d72f5ba5ad838b19803534c56a46f3bce9
tree86d9c9f9faed485fe683e00c56dfbaa4324504fc
parentbe3ea5eaf24f4507efe88b450f751da860a9d21c
journal: add minimal journal gateway daemon based on GNU libmicrohttpd

This minimal HTTP server can serve journal data via HTTP. Its primary
purpose is synchronization of journal data across the network. It serves
journal data in three formats:

       text/plain: the text format known from /var/log/messages
       application/json: the journal entries formatted as JSON
       application/vnd.fdo.journal: the binary export format of the journal

The HTTP server also serves a small HTML5 app that makes use of the JSON
serialization to present the journal data to the user.

Examples:

This downloads the journal in text format:

 # systemctl start systemd-journal-gatewayd.service
 # wget http://localhost:19531/entries

Same for JSON:

 # curl -H"Accept: application/json" http://localhost:19531/entries

Access via web browser:

 $ firefox http://localhost:19531/
.gitignore
Makefile.am
README
configure.ac
src/journal/journal-gatewayd.c [new file with mode: 0644]
units/.gitignore
units/systemd-journal-gatewayd.service.in [new file with mode: 0644]
units/systemd-journal-gatewayd.socket [new file with mode: 0644]