Apache Web Server Logs

Error Log

  • The Apache web server can be configured to give the server administrator important information about how it is functioning and what issues, if any, need to be addressed. The main avenue for providing feedback to the administrator is through the use of log files.
  • A web server is a network service that serves content to a client over the web. This typically means web pages, but any other documents can be served as well. Web servers are also known as HTTP servers, as they use the hypertext transport protocol (HTTP). The Apache HTTP Server, httpd, is an open source web server developed by the Apache Software Foundation.
  • I recently made a lightweight solution for quickly getting some statistics on an apache or nginx log when neither awk nor server-side analytics are available. It's a web-based app, and using the FileAPI, it all runs in the browser.

How to view Apache log files - How to view Apache log files on a dedicated server or VPS. If you're experiencing web server difficulties, or you just want to see what Apache is doing, log files.

Related ModulesRelated Directives

The server error log, whose name and location is set by the ErrorLog directive, is the most important log file. This is the place where Apache httpd will send diagnostic information and record any errors that it encounters in processing requests. It is the first place to look when a problem occurs with starting the server or with the operation of the server, since it will often contain details of what went wrong and how to fix it.

The error log is usually written to a file (typically error_log on Unix systems and error.log on Windows and OS/2). On Unix systems it is also possible to have the server send errors to syslog or pipe them to a program.

The format of the error log is defined by the ErrorLogFormat directive, with which you can customize what values are logged. A default is format defined if you don't specify one. A typical log message follows:

[Fri Sep 09 10:42:29.902022 2011] [core:error] [pid 35708:tid 4328636416] [client 72.15.99.187] File does not exist: /usr/local/apache2/htdocs/favicon.ico

The first item in the log entry is the date and time of the message. The next is the module producing the message (core, in this case) and the severity level of that message. This is followed by the process ID and, if appropriate, the thread ID, of the process that experienced the condition. Next, we have the client address that made the request. And finally is the detailed error message, which in this case indicates a request for a file that did not exist.

A very wide variety of different messages can appear in the error log. Most look similar to the example above. The error log will also contain debugging output from CGI scripts. Any information written to stderr by a CGI script will be copied directly to the error log.

Putting a %L token in both the error log and the access log will produce a log entry ID with which you can correlate the entry in the error log with the entry in the access log. If mod_unique_id is loaded, its unique request ID will be used as the log entry ID, too.

During testing, it is often useful to continuously monitor the error log for any problems. On Unix systems, you can accomplish this using:

Open Access

Citation Author(s):
Submitted by:
Muhammad Anis Hilmi
Last updated:
Fri, 12/11/2020 - 22:01
DOI:
10.21227/vvvq-6w47
Data Format:
License:
Categories:
Keywords:
intrusion detection, apache, support vector machine (SVM)., malicious
0 ratings - Please login to submit your rating.

Abstract

This dataset is from apache access log server. It contains: ip address, datetime, gmt, request, status, size, user agent, country, label. The dataset show malicious activity in IP address, request, and so on. You can analyze more as intrusion detection parameter.

This dataset contains: ip address, datetime, gmt, request, status, size, user agent, country, label. Allowed traffic only from Indonesia, because the web is local purpose, so this dataset assume the traffic from abroad is prohobited. Devil daggers cracked.

Apache Web Server Tutorial

Dataset Files

  • contents: ip address, datetime, gmt, request, status, size, user agent, country, label dataset access log apache web app.xlsx (2.78 MB)
LOGIN TO ACCESS DATASET FILES

QUESTIONS?

How to Access this Dataset

This Open Access dataset is available to all IEEE DataPort users. Please login or register.

Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin , December 7, 2020, 'Apache Web Server - Access Log Pre-processing for Web Intrusion Detection', IEEE Dataport, doi: https://dx.doi.org/10.21227/vvvq-6w47.
@data{vvvq-6w47-20,
doi = {10.21227/vvvq-6w47},
url = {https://dx.doi.org/10.21227/vvvq-6w47},
author = {Muhammad Anis Al Hilmi; Kurnia Adi Cahyanto; Muhamad Mustamiin },
publisher = {IEEE Dataport},
title = {Apache Web Server - Access Log Pre-processing for Web Intrusion Detection},
year = {2020} }
TY - DATA
T1 - Apache Web Server - Access Log Pre-processing for Web Intrusion Detection
AU - Muhammad Anis Al Hilmi; Kurnia Adi Cahyanto; Muhamad Mustamiin
PY - 2020
PB - IEEE Dataport
UR - 10.21227/vvvq-6w47
ER -
Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin . (2020). Apache Web Server - Access Log Pre-processing for Web Intrusion Detection. IEEE Dataport. https://dx.doi.org/10.21227/vvvq-6w47
Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin , 2020. Apache Web Server - Access Log Pre-processing for Web Intrusion Detection. Available at: https://dx.doi.org/10.21227/vvvq-6w47.
Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin . (2020). 'Apache Web Server - Access Log Pre-processing for Web Intrusion Detection.' Web.
1. Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin . Apache Web Server - Access Log Pre-processing for Web Intrusion Detection [Internet]. IEEE Dataport; 2020. Available from : https://dx.doi.org/10.21227/vvvq-6w47
Muhammad Anis Al Hilmi, Kurnia Adi Cahyanto, Muhamad Mustamiin . 'Apache Web Server - Access Log Pre-processing for Web Intrusion Detection.' doi: 10.21227/vvvq-6w47

Embed this dataset on another website

Copy and paste the HTML code below to embed your dataset:

Share via email or social media

Click the buttons below:

Share a link to this dataset

Web

Permalink: http://ieee-dataport.org/open-access/apache-web-server-access-log-pre-processing-web-intrusion-detection

DOI Link: https://dx.doi.org/10.21227/vvvq-6w47

Apache Web Server Logs Tutorial

Web

Short Link: http://ieee-dataport.org/3393

Linux Apache Logs

Copy All URIs to the Clipboard
View AWS Security Credentials
How to use Access Files on AWS