# AWStats Integration
# Overview
AWStats is a powerful web analytics tool that analyzes server logs to provide detailed statistics about your websites. Starting from PanelAlpha version 1.4.1, AWStats integration is automatically enabled and immediately begins collecting data without requiring any additional configuration.
# How It Works
The AWStats integration functions through the following processes:
- Automatic Log Collection: The system automatically retrieves webserver logs and analyzes them using AWStats
- Daily Processing: Logs are processed and stored in the
storage/app/awstats
directory - Seamless Data Integration: Processed data is automatically displayed in relevant sections of PanelAlpha
# Data Availability
The collected statistics are displayed in multiple locations within PanelAlpha:
# Client Area
- Instance > General: Summary statistics including visitor counts and bandwidth usage
- Instance > Monitoring: Detailed historical data about visitors and bandwidth consumption
# Admin Area
- Instance > Bandwidth: Bandwidth usage statistics
- Instance > Unique Visitors: Visitor tracking metrics
# Background Processes
AWStats integration relies on two primary background jobs:
CacheInstanceDetails: This daily job caches visitors and bandwidth data for efficient access. For bandwidth data, the system retrieves information from AWStats if the hosting server doesn't provide this data directly. This is particularly important for DirectAdmin (which previously only offered monthly statistics), Engine, and WP Cloud platforms.
RefreshReportData: This job runs once daily to retrieve logs and analyze them, ensuring your statistics are always up-to-date.
# Benefits
- Zero Configuration: Works automatically without any setup required
- Comprehensive Statistics: Provides detailed visitor and bandwidth data
- Improved Monitoring: Enhances the monitoring capabilities in both Client and Admin areas
- Server Compatibility: Works across different hosting server types, including those that previously provided limited statistical data
Since this integration is enabled by default and requires no configuration, you can immediately benefit from the enhanced statistical reporting across your PanelAlpha installation.