Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toastxc/log-secure-deserializer
Quickly converts entire log files from /var/log/secure into usable jsons
https://github.com/toastxc/log-secure-deserializer
Last synced: 20 days ago
JSON representation
Quickly converts entire log files from /var/log/secure into usable jsons
- Host: GitHub
- URL: https://github.com/toastxc/log-secure-deserializer
- Owner: toastxc
- License: lgpl-3.0
- Created: 2022-11-12T14:32:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T04:38:00.000Z (almost 2 years ago)
- Last Synced: 2024-11-24T20:53:39.150Z (about 1 month ago)
- Language: Rust
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING.LESSER
Awesome Lists containing this project
README
Log Secure Deserializer# Purpose for application
LSD can convert security log files (/var/log/secure) from human readable logs to jsons, these jsons can be used for analysising log-in attempts in Grafana or other statistics apps.The logs generated from /var/log/secure are often filled with megabytes of useless information, this program aims to generate machine readable smaller log files.
## Functionality
LSD is able to generate jsons showing
- Invalid usernames for log-in attempts
- invalid passwords for log-in attempts
- invalid keys for login attemptsThe results can be exported as a JSON or YAML file.
## Usage
```bash
git clone https://github.com/toastxc/Log-Secure-Deserializer
cd Log-Secure-Deserializer
cargo b
sudo cp /var/log/secure log.txt
sudo chmod 777 log.txt
cargo r log.txt -p
```Integeration with Grafana is planned but has not been worked on
![LGPLv3 Badge](/README_RESOURCES/LGPLv3%20Logo.svg)