policiesManagement

Get Alert Timestamp Format policy.

Get the Alert Timestamp Format policy. This policy controls the date/time format used in alert and recovery notification payloads across all connections and monitor types. When set to ISO, timestamps use the format yyyy-MM-dd HH:mm:ss z. When set to LEGACY, timestamps use the format MM/dd/yyyy hh:mm:ss a z.

get/v1/policies/timestampFormat

Request

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/policies/timestampFormat
  • Auth
    HTTP basic

Response

The Alert Timestamp Format policy.

timestampFormatstring required

The timestamp format used in alert notification payloads. Valid values: ISO, LEGACY. ISO format: yyyy-MM-dd HH:mm:ss z. LEGACY format: MM/dd/yyyy hh:mm:ss a z.

Example response

{
  "timestampFormat": "LEGACY"
}

Changes

No recorded changes to this operation across all 15 revisions of this API.