Event Log Create Event

On this page

Event Log Create

Available since 1.30.0

This event is generated when an event log is created.

Event type

event-log.create

Event Scope

This is a system-scoped event. If enabled in Settings -> Webhooks -> Your Webhook , this event will be sent.

The tenant webhook enable or disable settings do not apply and will be ignored.

Transaction Compatibility

This event is non-transactional. The operation will succeed regardless of the webhook response status code.

Event Body

event.createInstant
  • Type: Long

The instant that the event was generated.

event.eventLog
  • Type: Object

The event log for this event. See the Event Logs API for property definitions and example JSON.

event.id
  • Type: UUID

The unique Id of the event. You may receive an event more than once based upon your transaction settings. This Id may be used to identify a duplicate event.

event.info.data
  • Type: Object

An object that can hold any information about the event that should be persisted.

event.info.deviceDescription
  • Type: String

The description of the device associated with the event.

event.info.deviceName
  • Type: String

The device name associated with the event.

event.info.deviceType
  • Type: String

The type of device associated with the event.

event.info.ipAddress
  • Type: String

The source IP address of the event.

event.info.location.city
  • Type: String

The city where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.location.country
  • Type: String

The country where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.location.latitude
  • Type: Double

The latitude where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.location.longitude
  • Type: Double

The longitude where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.location.region
  • Type: String

The geographic location where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.location.zipcode
  • Type: String

The zip code where the event originated.

Enterprise plan To use event location data, you'll need an Enterprise plan.

event.info.os
  • Type: String

The operating system associated with the event.

event.info.userAgent
  • Type: String

The user agent associated with the event.

event.type
  • Type: String

The event type, this value will always be event-log.create.

Example Event JSON
{
  "event": {
    "createInstant": 1629141543064,
    "eventLog": {
      "id": 1773,
      "insertInstant": 1629141543059,
      "message": "Failed to get status result.",
      "type": "Debug"
    },
    "id": "29e3f639-649e-4a5c-bc4b-eec7f89ee20c",
    "info": {
      "ipAddress": "42.42.42.42",
      "location": {
        "city": "Denver",
        "country": "US",
        "displayString": "Denver, CO, US",
        "latitude": 39.73915,
        "longitude": -104.9847,
        "region": "CO"
      },
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36"
    },
    "type": "event-log.create"
  }
}