Administration

Lookup events for a tenant and fabric

Fetch events for a given fabric.

get/_fabric/{fabric}/_api/events

Request

Path parameters

fabricstring string required

The fabric name to use in the URL path for this API call. The main default system database is _system

Response

Successfully fetched events.

_idstring

ID of the event.

_keystring

_key details of event.

_revstring

_rev details of event.

actionstring

The activity of the event (CREATE/UPDATE/DELETE/EXECUTE/LOGIN).

attributesEventAttributes

Additional event attributes. If specified, attributes should be a JSON array containing key-value attributes

clusterIDstring

Cluster id

emailstring

The email id.

entityNamestring

The entity name of the event.

entityTypestring

The entity type of the event (COLLECTION/GRAPH/CEP/AUTH/STREAM/GEOFABRIC).

fabricstring

Fabric the event runs on.

statusstring

The activity status (OK/WARN/ERROR).

tenantstring

The tenant name.

timestampnumber

Timestamp of event creted at.

userstring

The Id of the user.

versionstring

The version string.

Example response

[
  {
    "_id": "test/foo",
    "_key": "foo",
    "_rev": "_dPRuHxe--_",
    "action": "CREATE",
    "attributes": {
      "CollectionType": "DOCUMENT",
      "HasStream": 1,
      "IsLocal": 0,
      "IsOrigin": 1
    },
    "clusterID": "sol1-ap-west",
    "email": "test@foo.com",
    "entityName": "Test",
    "entityType": "COLLECTION",
    "fabric": "_system",
    "status": "OK",
    "tenant": "__system",
    "timestamp": 1643991111,
    "user": "root",
    "version": "0.1"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.