Syslog Header Includes Milliseconds in API Gateway 9.4
search cancel

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.

Environment

API Gateway: 9.4, 9.4 CR1

Cause

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

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.

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