Skip to main content
Star us on GitHub Star

Events

The controller can emit many kinds of events, useful for monitoring, management and integration with other systems. They can be enabled in the controller configuration.

Common Types

TypeDescriptionExamples
timestampRFC3339 formatted timestamp string"2024-10-02T12:17:39.501821249-04:00"
durationDuration with value and unit"10s", "5m", "3h"

All events have the following fields

TypeDescriptionType
namespaceThe name indicating the overall event typestring
timestampThe date/time when the event was generatedtimestamp
evt_src_idThe id of the controller which emitted the eventstring

Event Types

ApiSessionEvent

Namespace: edge.apiSessions

An ApiSessionEvent is emitted whenever an api session is created, deleted, refreshed or exchanged. Legacy sessions are only ever created or deleted. JWT sessions are created, refreshed and exchanged.

Example:

{
"namespace": "edge.apiSessions",
"event_type": "created",
"id": "ckvr2r4fs0001oigd6si4akc8",
"timestamp": "2021-11-08T14:45:45.785561479-05:00",
"token": "77cffde5-f68e-4ef0-bbb5-731db36145f5",
"identity_id": "76BB.shC0",
"ip_address": "127.0.0.1"
}

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for ApiSessionEvents is edge.apiSessionsstring
event_typeThe event_type indicates the type api session event. One of ["created", "deleted", "refreshed", "exchanged"]string
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
idThe id is the api session idstring
typeThe type is the api session type, one of ["legacy", "jwt"]string
timestampThe timestamp is the datetime that the event was generatedtimestamp
tokenThe token is the api session tokenstring
identity_idThe identity_id is the id of the identity that the api session belongs tostring
ip_addressThe ip_address is the IP address from which the identity to connected to require the api sessionstring

CircuitEvent

Namespace: fabric.circuits

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for CircuitEvents is fabric.circuitsstring
versionThenumber (uint32)
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
circuit_idThestring
timestampThe timestamp is the datetime that the event was generatedtimestamp
client_idThestring
service_idThestring
terminator_idThestring
instance_idThestring
creation_timespanTheduration
pathTheCircuitPath
link_countThenumber (int)
path_costThenumber (uint32)
failure_causeThestring
durationTheduration
tagsThemap of string -> string

CircuitPath

Fields

FieldDescriptionType
nodesThelist of string
linksThelist of string
ingress_idThestring
egress_idThestring
initiator_local_addrThestring
initiator_remote_addrThestring
terminator_local_addrThestring
terminator_remote_addrThestring

ClusterEvent

Namespace: cluster

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for ClusterEvents is clusterstring
eventTypeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
indexThenumber (uint64)
peersThelist of ClusterPeer
leaderIdThestring

ApiAddress

Fields

FieldDescriptionType
urlThestring
versionThestring

ClusterPeer

Fields

FieldDescriptionType
idThestring
addrThestring
versionThestring
apiAddressesThemap of string -> list of ApiAddress

ConnectEvent

Namespace: connect

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for ConnectEvents is connectstring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
src_typeThestring
dst_typeThestring
src_idThestring
src_addrThestring
dst_idThestring
dst_addrThestring
timestampThe timestamp is the datetime that the event was generatedtimestamp

EntityChangeEvent

Namespace: entityChange

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for EntityChangeEvents is entityChangestring
eventIdThestring
eventTypeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
metadataThemap of string -> object
entityTypeThestring
isParentEventTheboolean
initialStateTheobject
finalStateTheobject

EntityCountEvent

Namespace: edge.entityCounts

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for EntityCountEvents is edge.entityCountsstring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
countsThemap of string -> number (int64)
errorThestring

LinkEvent

Namespace: fabric.links

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for LinkEvents is fabric.linksstring
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
link_idThestring
src_router_idThestring
dst_router_idThestring
protocolThestring
dial_addressThestring
costThenumber (int32)
connectionsThelist of LinkConnection

LinkConnection

Fields

FieldDescriptionType
idThestring
local_addrThestring
remote_addrThestring

MetricsEvent

Namespace: metrics

Fields

FieldDescriptionType
metric_typeThestring
namespaceThe namespace is the event group. The namespace for MetricsEvents is metricsstring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
source_idThestring
source_entity_idThestring
versionThenumber (uint32)
timestampThe timestamp is the datetime that the event was generatedtimestamp
metricThestring
metricsThemap of string -> object
tagsThemap of string -> string
source_event_idThestring

RouterEvent

Namespace: fabric.routers

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for RouterEvents is fabric.routersstring
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
router_idThestring
router_onlineTheboolean

SdkEvent

Namespace: sdk

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for SdkEvents is sdkstring
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
identity_idThestring

ServiceEvent

Namespace: services

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for ServiceEvents is servicesstring
versionThenumber (uint32)
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
service_idThestring
terminator_idThestring
countThenumber (uint64)
interval_start_utcThenumber (int64)
interval_lengthThenumber (uint64)

SessionEvent

Namespace: edge.sessions

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for SessionEvents is edge.sessionsstring
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
session_typeThestring
idThestring
timestampThe timestamp is the datetime that the event was generatedtimestamp
tokenThestring
api_session_idThestring
identity_idThestring
service_idThestring

TerminatorEvent

Namespace: fabric.terminators

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for TerminatorEvents is fabric.terminatorsstring
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
timestampThe timestamp is the datetime that the event was generatedtimestamp
service_idThestring
terminator_idThestring
router_idThestring
host_idThestring
router_onlineTheboolean
precedenceThestring
static_costThenumber (uint16)
dynamic_costThenumber (uint16)
total_terminatorsThenumber (int)
usable_default_terminatorsThenumber (int)
usable_required_terminatorsThenumber (int)

UsageEvent

Namespace: fabric.usage

Fields

FieldDescriptionType
namespaceThe namespace is the event group. The namespace for UsageEvents is fabric.usagestring
versionThenumber (uint32)
event_typeThestring
event_src_idThe event_src_id is the identifier of the controller which emitted the eventstring
source_idThestring
circuit_idThestring
usageThenumber (uint64)
interval_start_utcThenumber (int64)
interval_lengthThenumber (uint64)
tagsThemap of string -> string