» What is the Raw Access Log?

Raw Access Logs in web hosting control panels (such as CONTROL WEB PANEL) are plain text, unprocessed log files that contain detailed information about every single visitor and interaction with your website. Unlike statistics tools like AWStats, which provide summarized, graphical reports, raw access logs provide the raw data, including the IP address of the visitor, the timestamp of the visit, the exact file or image requested, and the HTTP status code (e.g., 200 for success, 404 for not found).

Key Features of Raw Access Logs

  • Unprocessed Data: They contain the unfiltered, detailed record of web server interactions (Apache or NGINX). 
  • Visitor Insights: They log visitor IP addresses, user agents (browsers/bots), and the HTTP requests they make. 
  • Downloadable & Compressed: They are usually available as downloadable .gz (gzip) files to save disk space. 
  • Security Analysis: They are invaluable for tracking down malicious traffic, brute-force attacks, or identifying who is accessing specific files.

What Data Is Included?

Each line in a raw access log file typically includes:

  1. IP Address: The visitor's IP address. 
  2. Date/Time: When the request occurred. 
  3. HTTP Request Method: (GET, POST, etc.). 
  4. Resource Requested: The path to the file or image. 
  5. Status Code: Result of the request (e.g., 200, 404, 302). 
  6. Data Size: The size of the file transferred. 
  7. Referrer URL: Where the user came from. 
  8. User Agent: The browser or bot used.

Important Notes

  • Data Retention: Raw logs are typically rotated or deleted periodically (e.g., at the end of the month) to free up space. 
  • File Format: The downloaded files are usually .gz and require a tool like 7-Zip or WinRAR to extract, after which they can be read in any text editor. 
  • System Usage: In NGINX servers, raw logs might not show certain ModSecurity logs, whereas in Apache, they show comprehensive data.

Was this answer helpful?

Add to favorites Add to Favourites
Print Print this Article