Skip to main content

Log-bringer

Log-bringer is designed for automatic collection of system log files. It collects all logs and useful system information into one archive. Log-bringer is delivered with each module and is embedded into DerScanner as a system program. To run the program, it must have execution permissions.

If DerScanner version 11 or higher is installed, the log collection program is embedded into the system's modules (APP, SAST, DAST, SCA) by default. If a lower version is installed, an up-to-date program can be requested from technical support.

To execute the program, run the command: sudo log-bringer

The program will ask you to select a date from which event logs should be collected. Choose the desired date. The program will automatically collect event logs from the selected date up to the current date and create an archive with them.

The result is an archive with logs. The archive is password-protected. The archive adheres to the following structure:

Common logs

PathDescription
log_bringer.logerrors that occur when the program is running
system/cpuinfo.loginformation about the processor
system/meminfo.loginformation about RAM
system/os_info.loginformation about the OS
system/disk_space.loginformation about the disk space
system/kernel.loginformation about the OS core errors
system/processes.loga list of processes running in the system
system/vm_state.loginformation about the used resources
system/ip_addr.loginformation about the network configuration of the server
system/loadavg.loginformation about the load average on a processor
system/uptime.loginformation about the system's uptime since last restart

Docker logs

PathDescription
docker/docker_info.loginformation about version of docker and docker compose
docker/daemon.jsoninformation about the docker configuration of the server (/etc/docker/daemon.json)
docker/docker_ps.logtable with main information about containers (docker ps -a)
docker/container_top.logextended information about containers
docker/docker_images.loginformation about loaded images in the docker
docker/docker_volumes.loginformation about created volumes in the docker
docker/ docker_system_disk_free.loginformation about docker disk usage
docker/ docker_system_disk _free_detailed.logdetailed information about docker disk usage
docker/docker_stats.logcontainer(s) resource usage statistics

APP module logs

PathDescription
app-moduledirectory, exists if the APP module is available; files with information about Frontend, Backend, ActiveMQ Artemis, Postgres, Postfix
app-module/app.compose.ymldocker-compose configuration for APP module
app-module/ systemd_app_service.loginformation about APP systemd service
app-module/app-db/postgres.envconfiguration for app-db service; first initialization of DB connection
app-module/app-db/ container_app-db.loglogs from app-db container; main postgresql log file
app-module/app-db/scans.logexists if the app-db docker image is available; information about SAST scans from DB table
app-module/app-db/tasks.logexists if the app-db docker image is available; information about SAST tasks from DB table
app-module/frontenddirectory with configurations and logs for NGINX
app-module/frontend/ default.conf.templateNGINX configuration (old version)
app-module/frontend/ frontend.envNGINX configuration variables (new version)
app-module/frontend/ logs/access.logNGINX access logs
app-module/frontend/ logs/error.logNGINX error logs
app-module/backenddirectory, files with logs and configuration for Backend
app-module/backend/license.xmlproduct license
app-module/backend/backend.envconfiguration for Backend
app-module/backend/logsdirectory, main logs from web application
app-module/artemis/ container_artemis.loglogs from ActiveMQ Artemis container
app-module/postfix/ container_postfix.loglogs from Postfix container

SAST module logs

PathDescription
sast-moduledirectory, exists if the SAST module is available; configuration and log files for SAST module
sast-module/ sast.compose.ymldocker-compose configuration for SAST module
sast-module/ systemd_sast _service.loginformation about SAST systemd service
sast-module/ sast-daemon/ daemon.envconfiguration for daemon service
sast-module/ sast-daemon/logsdirectory, SAST logs on the server

DAST module logs

PathDescription
dast-moduledirectory, exists if the DAST module is available; configuration and log files for DAST module
dast-module/ dast.compose.ymldocker-compose configuration for DAST module
dast-module/ systemd_dast_service.loginformation about DAST systemd service
dast-module/daemon/ dast-daemon.envconfiguration for DAST module service
dast-module/daemon/ container_dast _daemon.loglogs from DAST module container
dast-module/ daemon/logsdirectory, logs from DAST module
dast-module/zap/zap.envconfiguration for DAST module service - DAST locale
dast-module/zap/ container_zap.loglogs from DAST module container

SCA module logs

PathDescription
osa-moduledirectory, exists if the SCA module is available; configuration and log files for SCA module
osa-module/ osa.compose.ymldocker-compose configuration for SCA module
osa-module/ systemd_osa_service.loginformation about SCA systemd service
osa-module/osa-daemon/ osa-daemon.envconfiguration for osa-daemon service
osa-module/osa-daemon/ container_osa-daemon.loglogs from osa-daemon container
osa-module/osa-daemon/ logsdirectory, logs from osa-daemon analysis
osa-module/osa/ container_osa.loglogs from SCA container
osa-module/osa-db/ container_osa-db.loglogs from osa-db container
osa-module/ sbom-generator/ container_sbom- generator.loglogs from SBOM-generator container