This is a simple log4j collector that will collect logs from a HTTP JSON API REST call and writes the data inside a simple sqlite3 db file.
The frontend can be found at:
For the scanning process and data collection, the following tool can be used:
DB_NAME
- The name of the database file. Default:log4j-collector.db
DB_PATH
- The path of the database file. Default is./db
.
Note: The database file will be created at the given DB_PATH
or if not provided at the default path with the default name. Make sure you add .db to the end of the DB_NAME
name.
The docker image is available at:
docker pull ghcr.io/bluestoneag/log4j-collector:latest
Port mapping:
docker run -d -p 8080:8080 ghcr.io/bluestoneag/log4j-collector:latest
The Api documentation is available at:
This project is maintained by bluestoneag and netrics.
Feel free to contribute!