GoAccess analiza y analizar los formatos de registro del servidor web dados en las opciones preferidas incluyendo CLF (Common Log Format), el formato de W3C (IIS) de los anfitriones virtuales Apache y luego genera la salida de los datos a la terminal.
Características GoAccess
Tiene las siguientes características.
- Estadísticas general, ancho de banda, etc.
- Top visitantes, visitantes Time Distribución, sitios de referencia y direcciones URL y 404 o no se encuentra.
- Hosts, Reverse DNS, IP Ubicación
- Sistemas operativos, navegadores y robots
- Códigos de estado HTTP
- Geo Location - Continente / País / Ciudad
- Métricas por Virtual Host
- Soporte para HTTP / 2 & IPv6
- Capacidad de salida de JSON y CSV
- Combinaciones de colores diferentes
- General statistics, bandwidth, etc.
- Time taken to serve the request (useful to track pages that are slowing down your site)
- Metrics for cumulative, average and slowest running requests
- Top visitors
- Requested files & static files
- 404 or Not Found
- Hosts, Reverse DNS, IP Location
- Operating Systems
- Browsers and Spiders
- Referring Sites & URLs
- Keyphrases
- Geo Location - Continent/Country/City
- Visitors Time Distribution
- HTTP Status Codes
- Metrics per Virtual Host
- Ability to output JSON and CSV
- Tailor GoAccess to suit your own color taste/schemes
- Incremental log processing
- Support for large datasets + data persistence
- Support for HTTP/2 & IPv6
Instalación de GoAccess
Desde el código fuente:
# yum install ncurses-devel glib2-devel geoip-devel # cd /usr/src # wget http://tar.goaccess.io/goaccess-0.9.8.tar.gz # tar zxvf goaccess-0.9.8.tar.gz # cd goaccess-0.9.8/ # ./configure # make; make install
En RedHat, CentoS y Fedora
# yum install goaccess # dnf install goaccess [From Fedora 23+ versions]
En Debian y Ubuntu
# apt-get install goaccess
Cómo utilizar GoAccess
# goaccess
Ejemplo de Salida
GoAccess - 0.9.8
Usage: goaccess [ options ... ] -f log_file [-c][-M][-H][-q][-d][...]
The following options can also be supplied to the command:
Log & Date Format Options
--log-format= - Specify log format. Inner quotes need to
be escaped, or use single quotes.
--date-format= - Specify log date format. e.g.,
%d/%b/%Y
--time-format= - Specify log time format. e.g.,
%H:%M:%S
User Interface Options
-c --config-dialog - Prompt log/date/time configuration
window.
-i --hl-header - Color highlight active panel.
-m --with-mouse - Enable mouse support on main dashboard.
--color= - Specify custom colors. See manpage for
more details and options.
--color-scheme=<1> - Color schemes: 1 => Grey, 2 => Green.
--html-report-title= - Set HTML report page title and header.
--no-color - Disable colored output.
--no-column-names - Don't write column names in term
output.
--no-csv-summary - Disable summary metrics on the CSV
output.
--no-progress - Disable progress metrics.
--no-tab-scroll - Disable scrolling through panels on TAB.
File Options
-f --log-file= - Path to input log file.
-l --debug-file= - Send all debug messages to the specified
file.
-p --config-file= - Custom configuration file.
--invalid-requests= - Log invalid requests to the specified
file.
--no-global-config - Don't load global configuration
file.
.....
1>
La manera más sencilla de usar el programa usando el flag -f e indicando la ruta de acceso del log del servidor web:# goaccess -f /var/log/httpd/access_log
Ejemplos capturas de pantalla (screenshots)
Por sistema Operativo:
Navegadores:
Por visitante:
También se puede generar un informe en formato HTML
goaccess -f /var/log/httpd/access_log > reports.html
Fuente:
http://www.tecmint.com/goaccess-a-real-time-apache-and-nginx-web-server-log-analyzer/










No hay comentarios:
Publicar un comentario