Apache access log

Apache HTTP Server access and error logs record requests in the common or combined format: client address, time, request line, status, size, referrer and user agent.

LinuxEvent and service logsParser: logs_apache13 fieldsCollected by priority triage

What Apache is

Event and service logs record what the operating system and its services saw: logons, process starts, service changes, errors and security events.

Forensic value

What Apache can tell an investigator:

  • Exploitation of web applications and web shell activity.
  • Scanning patterns and attacker user agents.

What it does not prove

  • POST bodies are not logged by default.
  • Rotated logs may be compressed or removed by logrotate.

Where it is stored

Arcsentry looks for Apache at these locations inside a collection, disk image or mounted volume:

var/log/apache2/**/*access*
var/log/apache2/**/*error*
var/log/httpd/**/*access*
var/log/httpd/**/*error*

What Arcsentry records

Each Apache record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
destination_domainVirtual host name as logged
destination_portVirtual host port
source_addressClient IP address
user_nameAuthenticated user name
event_timestampRequest timestamp
http_methodHTTP request method
urlRequested URI path
protocolRequest protocol and version
http_request_lineRequest line that is not a method, URI and protocol triple
http_status_codeHTTP response status code
bytes_sentResponse size in bytes
url_referrer_fullReferer header as logged
user_agentClient User-Agent header

Time

Apache access log request time: dd/Mon/yyyy:HH:MM:SS with an explicit UTC offset. Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting Apache with Arcsentry Collector

Arcsentry Collector gathers Apache in these triage profiles: linux::profile::triage::priority, linux::profile::triage::offline, linux::profile::triage::full, linux::profile::triage::server. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: linux::execution::docker_ondisk, linux::filesystem::bodyfile, linux::logs::apache, linux::logs::var_log.

sudo ./arcsentry-collect collect --local -t linux::profile::triage::priority \
  -o /mnt/ir -f host.arcx --password-file /mnt/ir/pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Apache can come from the tools you already use.

Analysing Apache in Arcsentry

Ask in plain English, for example "show Apache records from the incident window, newest first", and Arcsentry shows the query before it runs.

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Apache records with the same tools and cites them by event ID.

Corroborate with

No single artifact settles a question on its own. Check Apache against:

  • auditd: Parses /var/log/audit/audit.log* and correlates the SYSCALL, EXECVE, CWD, PATH and USER_* records of one audit event by its stamp (time and serial).
  • Syslog: Parses Linux syslog and auth.log files.

Frequently asked

Where are Apache logs on Linux?

Typically /var/log/apache2/ on Debian and Ubuntu, or /var/log/httpd/ on Red Hat family systems.

Does Arcsentry parse Apache?

Yes. Arcsentry's Apache parser (logs_apache) reads it from Linux evidence and records 13 fields per record, with provenance back to the source file.

How do I collect Apache?

Arcsentry Collector gathers it with the priority triage profile (linux::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse Apache on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial