A free and open-source logging dashboard, and REST API for rsyslog
and theoretically any other syslog-daemon.
To get started, checkout the QUICKSTART.md
file at the root of the project.
Clark is currently in a work-in-progress state. The following things still need to be done:
- Make login page nice
- User and privilege management
- Ability to change your password
- Time boxed dashboards
- Logging via rsyslog
- REST API
- Graphs
- Log-in
- Custom dashboards
- Api Keys
- Full-text search
- Make sure you have Perl >5.10 and the following packages installed:
- On Ubuntu you can install them like this:
sudo apt install libio-prompter-perl libterm-readkey-perl
- Or on other distros with CPAN:
sudo cpan install IO::Prompter Term::ReadKey
- On Ubuntu you can install them like this:
- Run Clarks system configuration script:
./setup.pl
- Make sure you have
docker
anddocker compose
- Run the following commands to install and run Clark (the first install may take a few minutes):
git clone https://github.com/mollusc-labs/clark cd clark docker-compose up -d
- Read
QUICKSTART.md
to figure out what logging configuration works for you! - Happy logging!
It is highly recommended to place Clark behind a proxy like NGiNX
, httpd
or similar, before exposing it to the internet.
You will also want to ensure that you are using HTTPS
.
setup.pl
will configure rsyslog
to use port 514
for both UDP and TCP traffic, some people may want to change these
or are simply unable to open these ports. In that case edit rsyslog.d/remote.conf
to use whatever port you'd like.
If you plan to log over the internet (not recommended outside of the REST API) you will need to open the port specified
in the rsyslog.d/remote.conf
, this is defaulted to 514
for both TCP and UDP.
Clark is a Perl application using Mojolicious
that uses a Vue3
frontend. Any and all contributions will be considered!
Make sure your Perl code follows the .perltidyrc
's configuration before you make any pull-requests. Thanks!
Run docker-compose up -d clark_database
and setup.pl
, then install all of the CPAN dependencies listed in the cpanfile
.
Now you can run the frontend with cd frontend && yarn dev
, and the backend with ./dev.sh
.
Clark is licensed under the BSD-3 Clause
license, to learn more, please view the LICENSE
file at the root of
the project.