log4j-collector

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

log4j-collector

Build Status Go Report Card GitHub top language GitHub go.mod Go version open issues license

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:

Env Variables

  • 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 path or if not provided at the default path with the default name. Make sure you add .db to the end of the file name.

## Docker

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

API Documentation

The Api documentation is available at:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL