Skip to content

Web Application for Rsyslog on Symfony + Vue.js

License

Notifications You must be signed in to change notification settings

qbbr/rsyslog-web-app

Repository files navigation

rsyslog-web-app

Web Application for Rsyslog on Symfony + Vue.js.

Stack

Screenshots

qbbr-rsyslog-web-app-1 qbbr-rsyslog-web-app-2 qbbr-rsyslog-web-app-2

Install

Docker

curl -sSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER

on prod

make build@prod
make up
make install@prod

see rsyslog mysql server

sudo apt install rsyslog-mysql default-mysql-client --no-install-recommends
# and configure via `dbconfig-common` on installation dialog

on dev

cp docker-compose.override.yml.dist docker-compose.override.yml
make build@dev
make up
make install@dev

Usage

x-www-browser 'http://127.0.0.1/'

Search

Default search by message and you can apply filters.

Available filters (supports multiple):

  • host (alias h)
  • facility (alias f)
  • tag (alias t)
  • priority (alias p)

Examples:

  • tag = "kernel:"
  • host != "SRV-1", p = "info"
  • host="SRV-2, DNSSEC" (can be multiple)
  • h="QQ", f!="auth",p="error"

Hotkeys

  • /, s - focus the search bar
  • Ctrl + ArrowRight - goto the next page
  • Ctrl + ArrowLeft - goto the previous page
  • Ctrl + Shift + ArrowRight - goto the last page
  • Ctrl + Shift + ArrowLeft - goto the first page
  • Click(filter link) - filter =
  • RightClick(filter link) - exclude filter !=
  • Ctrl + Click(filter link) - multiple select/toggle filter =
  • Ctrl + RightClick(filter link) - multiple select/toggle exclude filter !=

Tests

make install@test
make test

Build and run tested on amd64 and aarch64 (rpi3b).
Developed with <3 by @qbbr.