---
title: "Fpm access logs"
date: "2024-02-14T06:18:38+00:00"
summary: "Explore PHP-FPM access logs to monitor request handling, performance metrics, and resource usage. Gain insights into your application's behavior and optimize its efficiency with detailed log analysis."
image:
type: "page"
url: "/acquia-cloud-platform/fpm-access-logs"
id: "ff88a440-6073-4c52-a0af-550e21c20db6"
---

The _Fpm access log_ records requests handled by Fpm’s process management in PHP. It is closely related to the following error logs:

*   [PHP error log](/acquia-cloud-platform/monitor-apps/logs/php-error): Records application-level issues encountered while processing a request
*   [Fpm error log](/acquia-cloud-platform/monitor-apps/logs/fpm-error): Records infrastructure-level issues with the management of PHP processes from web requests only

For a list of the log files handled by Cloud Platform, including accessing these log files, log file retention, and their locations, see [About Cloud Platform logging](/acquia-cloud-platform/monitor-apps/logs).

Note for log forwarding users

Acquia’s [log forwarding](/acquia-cloud-platform/monitor-apps/logs/forwarding) feature adds information to the beginning of each line that is forwarded to an external service. For more information, see [File formats in forwarded log files](/acquia-cloud-platform/monitor-apps/logs/forwarding/files).

Parsing the log file
--------------------

The following line is a representative example of the data written into your website’s Fpm error log:

    - -  25/Sep/2018:17:02:35 +0000 "GET /index.php" 200 memory_kb=6144 %cpu=9.16 duration_ms=218.423 request_id="v-00000000-1111-2222-3333-444444444444"

Each of the items in the Fpm error log is noted in the following table, along with its description:

Position

Data

Description

0

`-`

The remote IP address, usually `-`.

1

`-`

Unused field. Always displays `-`.

2

`(blank)`

Remote user, if any. (The example line is blank for this value.)

3

`25/Sep/2018:17:02:35 +0000`

The date and time the request was received, in the following format: `%d/%b/%Y:%H:%M:%S %z`

4

`"GET /index.php"`

The request method and request URI. If a query string exists, the request URI is followed by a question mark and the query string.

5

`200`

The HTTP status code sent from the infrastructure to the client. Production environments don’t display full information for [HTTP 5xx status codes](5xx.html).

6

`memory_kb=6144`

The peak amount of memory PHP needed, in kilobytes, to complete this request.

7

`%cpu=9.16`

Percent of user and system CPU needed to complete this request.

8

`duration_ms=218.423`

The amount of time needed, in milliseconds, to serve this request.

9

`request_id="v-00000000-1111-2222-3333-444444444444"`

A unique ID attached to this request by the load balancer, which appears in several Cloud Platform log files. For more information, see [Using HTTP request IDs](/acquia-cloud-platform/develop-apps/drupal-apps/requestid).