Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qbbr/rsyslog-web-app

Web Application for Rsyslog on Symfony + Vue.js
https://github.com/qbbr/rsyslog-web-app

bootstrap docker mariadb php qbbr rsyslog symfony vuejs

Last synced: 10 days ago
JSON representation

Web Application for Rsyslog on Symfony + Vue.js

Awesome Lists containing this project

README

        

# rsyslog-web-app

Web Application for Rsyslog on Symfony + Vue.js.

## Stack

* [PHP 8.3](https://www.php.net/)
* [Symfony 7.1](https://symfony.com/)
* [MariaDB 10](https://mariadb.org/)
* [Vue.js 3](https://vuejs.org/)
* [Bootstrap 5.3](https://getbootstrap.com/)
* under [Docker](https://www.docker.com/)

## Screenshots

[![qbbr-rsyslog-web-app-1](https://i.imgur.com/eYncLZbb.png)](https://i.imgur.com/eYncLZb.png)
[![qbbr-rsyslog-web-app-2](https://i.imgur.com/cCORhjnb.png)](https://i.imgur.com/cCORhjn.png)
[![qbbr-rsyslog-web-app-2](https://i.imgur.com/WxQxL9tb.png)](https://i.imgur.com/WxQxL9t.png)

## Install

### Docker

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

### on prod

```bash
make build@prod
make up
make install@prod
```

see [rsyslog mysql server](https://qbbr.cat/blog/2023/07/09/rsyslog-mysql-server.html)

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

### on dev

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

## Usage

```bash
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

```bash
make install@test
make test
```

---

Build and run tested on **amd64** and **aarch64** (rpi3b).
Developed with <3 by [@qbbr](https://qbbr.cat).