Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace LogEntryBatch

A single batch of Log Entries.

Properties

defaultlogentrytime

defaultlogentrytime: Date

The timestamp for all log entries in this batch. This can be considered as the default timestamp for each entry, unless it is overwritten by the entry time. An RFC3339-formatted date-time string with milliseconds precision.

entries

entries: Array<LogEntry>

List of data entries.

source

source: string

Source of the logs that generated the message. This could be the instance name, hostname, or the source used to read the event. For example, "ServerA".

Optional subject

subject: undefined | string

This optional field is useful for specifying the specific sub-resource or input file used to read the event. For example: "/var/log/application.log".

type

type: string

This field signifies the type of logs being ingested. For example: ServerA.requestLogs.

Functions

getDeserializedJsonObj

getJsonObj