Skip to main content

Log-Stream-Started Log Event JSON Format

Abstract

This document describes the JSON log event fields of the Log Streaming Log-Stream-Started event and provides an example.

The log-stream-started event is generated when Log Streaming is started. Refer to Activate Log Streaming. This event is added to the logs with the details on the destination AWS S3 bucket and Region.

The log event JSON contains the Header fields and a log JSON object. The fields in the log JSON object for when the eventName in the Header is set to log-stream-started are described in the table below. For more information on the Header, refer to Log Event Header Fields.

Table 3. JSON fields present in the log object for the log-stream-started log event

Field Name

Type

Description

aws-s3-bucket

String

The name of the configured AWS S3 bucket.

aws-region

String

The configured AWS S3 bucket's Region.



Example of a Log-Stream-Started Log Event
{
  "CloudConnexaLogVersion": 1,
  "timestamp": "2023-11-09T10:27:35.716006Z",
  "cloudId": "test",
  "service": "CloudConnexa",
  "traceId": "c50f4490-84c1-4156-aa24-cb61a1bb13cb",
  "publicIp": "100.96.3.11",
  "initiator": "2cc6965a-267e-40b2-9b67-ef2a9ecc2fe6",
  "initiatorRole": "Admin",
  "initiatorType": "User",
  "initiatorName": "My Admin",
  "parentEntity": "e7856d84-d6b6-4803-94e1-b14e1abe483c",
  "parentEntityType": "UserGroup",
  "parentEntityName": "Default",
  "category": "Audit.Admin",
  "eventName": "log-stream-started",
  "log": {
    "aws-s3-bucket": "s3-bucket",
    "aws-region": "eu-central-1"
  },
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
}