TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
GroupsHostgroupsMetersMetricsProduct
PluginsRelaysSourcesSource-TagsSynchronize Data
Tenants
Terms

GET/v1/events/:event_id/raw

Returns all of the event occurrences (raw events) for the specified event.

Query parameters:

from

The first row within the raw event list to return (for paging). Default is 0.

size

The maximum number of raw events to return. Default is 100.

sort

The requested sort order and field. Default is descending order by the time created (RawEvent.createdAt).

Return value:

QueryResponse with results of type RawEvent

Example request:

curl https://api.truesight.bmc.com/v1/events/ily5cxqd/raw?from=10&size=50&sort=createdAt+desc \
-X GET \
-u <email>:<api-token>

Example response:

{
   "counts": {
      "total": 1
   },
   "items": [
      {
         "eventId": "ily5cxqd",
         "tenantId": "6bbe418e-8a15-4844-a154-1e04b0dea8d4",
         "source": {
            "ref": "mymeter",
            "type": "host",
            "properties": {}
         },
         "title": "My title",
         "severity": "INFO",
         "createdAt": 1458332233850,
         "receivedAt": 1458332234437,
         "fingerprintFields": [
            "@title"
         ]
      }
   ]
}