Support
 
Support Get Quote
 
 
 
 
  • Home
  • Cloud Security Alliance
Apache

Apache log analysis: Too many errors

Feb 10, 2022 1 min read
 

Apache logs record errors from two sources, viz. the error logs and the error status codes in the access logs. It is critical to understand the proportion of error logs to the overall traffic in the network. If this proportion is high, it signifies that something isn't right in the network. For this, the log collection from all the relevant hosts must be centralized. You can then run the following commands to parse out the status code and count, and sort them in the descending order of the count.

$ cat access.log | cut -d ' ' -f 9 | sort | uniq -c | sort -nr
941 200
292 500
290 404
50 401
20 400

However, executing the above command and sorting the results can be time consuming. A log management tool can give you these results in a jiffy. EventLog Analyzer, a comprehensive log management tool, provides out of box Apache web error reports such as HTTP Internal Server Error, HTTP Gateway Timeout, and more.

apache-error-log-analysis

You may also like

 

Interested in a
log management
solution?

Try EventLog Analyzer
Database platforms

Understanding SQL Server Audit better

Read more
 
Previous articles
Next articles
Network devices

Critical Windows events: Event ID 6008 - Unexpected system shutdown

Read more
 

Manage logs, comply with IT regulations, and mitigate security threats.

Seamlessly collect, monitor, and analyze
logs with EventLog Analyzer

Your request for a demo has been submitted successfully

Our support technicians will get back to you at the earliest.

  •  
  •  
By clicking 'Submit', you agree to processing of personal data according to the Privacy Policy.

  Zoho Corporation Pvt. Ltd. All rights reserved.

Link copied, now you can start sharing
Copy