Accessing Raw Access Logs in cPanel

Guide to accessing and managing raw access logs in cPanel, including retention policies and download procedures.

Accessing Raw Access Logs in cPanel

Overview

Raw access logs provide detailed information about visits to your website, including visitor IP addresses, requested pages, and response codes. This guide explains how to access these logs and understand our retention policies.


Accessing Your Logs

Step-by-Step Access

  1. Log in to your cPanel account
  1. Navigate to the "Metrics" section
  1. Click on the "Raw Access" icon
  1. View or download your logs from the displayed page

Log Management Policies

Retention Schedule

  • Logs are rotated on two conditions:
    • Monthly rotation
    • When file size reaches 300MB
  • Previous month's archived logs are automatically removed
  • Removal occurs at month-end
  • Logs count toward your account's disk quota

Storage Considerations

  • Log files are stored in your home directory
  • Regular cleanup helps manage disk space
  • Automated removal helps maintain optimal account performance

Extended Retention Options

If you need longer log retention:

  1. Contact Support for:
      • Custom retention periods
      • Special archiving requirements
      • Specific compliance needs
  1. Available Options:
      • Adjusted archive timeframes
      • Custom rotation schedules
      • Alternative storage solutions

Best Practices

  1. Regular Monitoring:
      • Check logs weekly for security analysis
      • Download important logs before month-end
      • Monitor for unusual patterns
  1. Log Management:
      • Download crucial logs before rotation
      • Keep local copies of important data
      • Review logs for security insights

Frequently Asked Questions

Q: Why are my old logs removed?

A: Logs are removed to manage disk usage and maintain optimal account performance.

Q: Can I download logs before removal?

A: Yes, you can download logs anytime before the month-end removal schedule.

Q: How long are logs retained by default?

A: Logs are retained until either monthly rotation or reaching 300MB size.

Q: Can I request longer retention periods?

A: Yes, contact support to discuss extended retention options based on your needs.


Getting Support

Need assistance with log management?

  • Response Time: Within 15 minutes

Important Notes

Reminder: Download any essential log data before month-end to ensure you retain important information for your records.
Did this answer your question?
๐Ÿ˜ž
๐Ÿ˜
๐Ÿคฉ

Last updated on November 19, 2024