Acquia’s log forwarding feature adds the following items to the beginning of each line in your forwarded log files. The local copies stored on Cloud Platform remain unchanged. For a list of log files available from Cloud Platform and their formats, see About Cloud Platform logging.
Based on your environment, the log forwarding feature adds data in the beginning of each line. The following are the examples of the data that is added:
Cloud Next:
<133>1 2019-08-01T17:21:59+00:00 - alphabeta.fpm-error - - -
Cloud Classic:
<133>1 2019-08-01T17:21:59+00:00 web-00000 alphabeta.fpm-error - - -
Use the following table to learn more about each of the items, including their descriptions:
Position | Data | Description |
---|---|---|
0 | <133> | The message priority, calculated by the section 6.2.1 of the RFC 5424 standard. A message priority of 133 is a NOTICE -level message from local0 . For a table of possible values for this field, see Syslog Priority Facility Severity Grid. |
1 | 1 | The version of the syslog protocol specification. |
2 | 2019-08-01T17:21:59+00:00 | The date and time Cloud Platform forwarded this information to your external service. |
3 | web-00000 | The internal hostname of the infrastructure the log file originated from. For logs originating from Cloud Next, this field is |
4 | alphabeta.fpm-error | The internal Acquia site name this request is for, and type of log file, separated by a period. For production environments, each log entry contains: [sitename].[log-type]. For example, For non-production environments, each log entry contains: [sitename][env].[log-type]. For example,
|
5 | - | Process ID (pid ). This field isn’t used. |
6 | - | Message ID (msg_id ). This field isn’t used. |
References
- The RFC 5424 protocol for formatting syslog messages
- GitHub gist for calculating facility and severity from the
priority
value - Syslog Priority Facility Severity Grid