Syslog Header Includes Milliseconds in API Gateway 9.4

book

Article ID: 145143

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7

Issue/Introduction

After the API Gateway is upgraded from any version to 9.4, the syslog headers and logs include the millisecond timestamp. The default time format in 9.4 is:
MMM d hh:mm:ss.SSS

The extra milliseconds format "SSS" causes issues in parsing with some monitoring tools.

Cause

This was introduced as an enhancement for customers that require the millisecond timestamp in their logs.

Environment

API Gateway: 9.4, 9.4 CR1

Resolution

Configurable timestamp was introduced in 9.4 CR2 with a new audit-related cluster property - syslog.dateFormat. It allows format modification of the syslog date-time format.

Here are details about the property (end of the page):
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/reference/gateway-cluster-properties/audit-cluster-properties.html

To resolve this issue, upgrade to 9.4 CR2 first and then use this property per your needs.