aminer1
Lightweight tool for log checking, log analysis
Usage
aminer {--Config | --config | -c
file
[OPTIONS] ...}
Overview
This manual page documents briefly the aminer command. For more details see packaged documentation at /usr/share/doc/logdata-anomaly-miner.
Options
-
--config, -c file -
Specify the configuration file, otherwise /etc/aminer/config.py is used. See /etc/aminer/template_config.py or /etc/aminer/template_config.yml for configuration file templates and examples.
-
--daemon, -D -
With this parameter, aminer will detach from the terminal and daemonize. When not in foreground mode, aminer will also change the working directory to /, hence relative path in configuration file will not work.
-
--stat, -s stat-level -
Set the statistic logging level. Possible stat-levels are 0 for no statistics, 1 (default) for normal statistic level and 2 for verbose statistics.
-
--debug, -d debug-level -
Set the debug logging level. Possible debug-levels are 0 for no debugging, 1 (default) for normal output (INFO and above), 2 for printing all debug information.
-
--run-analysis -
INTERNAL PARAMETER - DO NOT USE. It is just documented here for completeness.
-
--restore, -R backup-directory -
Restores the persistence directory from backup-directory.
-
--clear, -C -
With this parameter all persisted data in config_properties['Core.PersistenceDir'] is deleted. USE THIS PARAMETER CAREFULLY. IT DELETES ALL SUB-DIRECTORIES OF THE PERSISTENCE DIRECTORY.
-
--remove, -r directory -
Remove persisted data of one Detector.
Example 1: --remove NewMatchPathDetector
Example 2: --remove NewMatchPathDetector --remove EventCorrelationDetector
-
--from-begin, -f -
With this parameter all live data in config_properties['Core.PersistenceDir']/AnalysisChild/RepositioningData is deleted.
-
--help, -h -
Prints the help-screen
-
--version, -v -
Prints the version-string
Files
/etc/aminer/config.py
The main configuration file for the aminer daemon. See /etc/aminer/template_config.py and /etc/aminer/template_config.yml for configuration file templates and examples.
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.