How To Install logdata-anomaly-miner on Ubuntu 18.04
Introduction
In this tutorial we learn how to install logdata-anomaly-miner
on Ubuntu 18.04.
What is logdata-anomaly-miner
logdata-anomaly-miner is:
to analyze log data streams and detect violations or anomalies in it. It can be run from console, as daemon with e-mail alerting or embedded as library into own programs. It was designed to run the analysis with limited resources and lowest possible permissions to make it suitable for production server use. Analysis methods include:
- static check patterns similar to logcheck but with extended syntax and options.
- detection of new data elements (IPs, user names, MAC addresses)
- statistical anomalies in log line values and frequencies
- correlation rules between log lines as described in th AECID approach http://dx.doi.org/10.1016/j.cose.2014.09.006
The tool is suitable to replace logcheck but also to operate as a sensor feeding a SIEM.
Please report bugs at https://bugs.launchpad.net/logdata-anomaly-miner/+filebug
There are three methods to install logdata-anomaly-miner
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install logdata-anomaly-miner Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install logdata-anomaly-miner
using apt-get
by running the following command:
sudo apt-get -y install logdata-anomaly-miner
Install logdata-anomaly-miner Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install logdata-anomaly-miner
using apt
by running the following command:
sudo apt -y install logdata-anomaly-miner
Install logdata-anomaly-miner Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install logdata-anomaly-miner
using aptitude
by running the following command:
sudo aptitude -y install logdata-anomaly-miner
How To Uninstall logdata-anomaly-miner on Ubuntu 18.04
To uninstall only the logdata-anomaly-miner
package we can use the following command:
sudo apt-get remove logdata-anomaly-miner
Uninstall logdata-anomaly-miner And Its Dependencies
To uninstall logdata-anomaly-miner
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove logdata-anomaly-miner
Remove logdata-anomaly-miner Configurations and Data
To remove logdata-anomaly-miner
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge logdata-anomaly-miner
Remove logdata-anomaly-miner configuration, data, and all of its dependencies
We can use the following command to remove logdata-anomaly-miner
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge logdata-anomaly-miner
References
Summary
In this tutorial we learn how to install logdata-anomaly-miner
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.