haproxy_log_analysis command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
haproxy_log_analysis: command not found
or when using sudo you get the following error message
sudo: haproxy_log_analysis: command not found
Solutions to haproxy_log_analysis: command not found
How To Fix haproxy_log_analysis: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu haproxy_log_analysis is provided by haproxy-log-analysis package.
haproxy-log-analysis is:
haproxy log analysis can generate aggregate statistics from HAProxy logs in the HTTP log format. This can be over a specific period, or over a subset of the entries by specifying a filter.
This package contains the command line tool, haproxy_log_analysis. See python3-haproxy-log-analysis for the library that this tool uses.
To fix this problem, we can install more using the command below.
sudo apt-get -y install haproxy-log-analysis
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install haproxy-log-analysis.
sudo apt -y install haproxy-log-analysis
Or if you have aptitude installed you can use the following command.
sudo aptitude install haproxy-log-analysis
Summary
In this tutorial we learn how to fix haproxy_log_analysis command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.