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

POST/v1/events

Creates an event. Every event occurrence is persisted to the database as a RawEvent. Based on the EventFingerprint, a new Event will be created or an existing one will be de-duplicated.

Request body

RawEvent

Return value

Returns HTTP 202 Accepted.

Example request

curl https://api.truesight.bmc.com/v1/events \
-X POST \
-u <email>:<api-token> \
-H "Content-Type: application/json" \
-d '
{
   "fingerprintFields": [
      "@title"
   ],
   "source": {
      "ref": "mymeter",
      "type": "host"
   },
   "message": "my message",
   "title": "My title",
   "properties": {
      "foo": "bar",
      "baz": 42
   },
   "severity": "INFO",
   "status": "OPEN",
   "tags": [
      "tag1",
      "tag2"
   ]
}'