Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defgsus/logmonitor
Web-view for system logs
https://github.com/defgsus/logmonitor
database log-files server-log webview
Last synced: about 2 months ago
JSON representation
Web-view for system logs
- Host: GitHub
- URL: https://github.com/defgsus/logmonitor
- Owner: defgsus
- Created: 2018-06-19T00:17:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T00:16:51.000Z (over 6 years ago)
- Last Synced: 2024-10-10T15:49:55.077Z (4 months ago)
- Topics: database, log-files, server-log, webview
- Language: Python
- Homepage:
- Size: 208 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Web-view for system logs
Linux/Debian style system logs are parsed to a database and can then be
displayed conveniently in the browser with filtering.### deployment
```bash
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
```The list of logs to parse is located in `logmonitor/settings.py` as `LOG_FILES`
and can be adjusted to your needs.To get log-files into the database call:
```bash
./manage.py logview_update
```Cronjobs are supported via [django-kronos](https://github.com/jgorset/django-kronos).
To install the cronjob checkout `logview/cron.py` to adjust scheduled times and then run:
```bash
./manage.py installtasks
```