Settings API - Capture business events with OneAgent schema table
Capture business events with OneAgent (builtin:bizevents.http.incoming)
OneAgent can capture business events from incoming HTTP requests. To activate this feature, add capture rules below.
Capture rules tell OneAgent to capture business events when specific webservices or endpoints are called. A capture rule consists of trigger rules, mandatory business event information (e.g. type and provider) and optional event data fields. A trigger defines the criteria that, when met, cause a business event to be captured (e.g. endpoint “/api/buy” is called). By adding event data fields to your business event, you can extract data directly from the incoming request payload. To limit the scope of a capture rule to a certain Host-Group or Host, create the rule directly in the Host-Group or Host setting screen.
Learn more by visiting our documentation.
builtin:bizevents.http.incoming
group:business-analytics.business-events-sources
group:business-analytics
HOST
- HostHOST_GROUP
- Host Groupenvironment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:bizevents.http.incoming |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:bizevents.http.incoming | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:bizevents.http.incoming |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
enabled
ruleName
triggers
Define conditions to trigger business events from incoming web requests. Triggers are connected by AND logic per capture rule. If you set multiple trigger rules, all of them need to be fulfilled to capture a business event.
The MatcherComplex
object
type
EQUALS
N_EQUALS
STARTS_WITH
N_STARTS_WITH
ENDS_WITH
N_ENDS_WITH
CONTAINS
N_CONTAINS
EXISTS
N_EXISTS
value
caseSensitive
The EventComplex
object
The DataSourceComplex
object
dataSource
request.path
request.url
request.method
request.headers
request.parameters
request.body
response.body
response.headers
response.statusCode
The EventAttributeComplex
object
sourceType
request.path
request.url
request.method
request.headers
request.parameters
request.body
response.body
response.headers
response.statusCode
constant.string
source
The EventCategoryAttributeComplex
object
sourceType
request.path
request.url
request.method
request.headers
request.parameters
request.body
response.body
response.headers
response.statusCode
constant.string
source
The EventDataFieldComplex
object
name
Field name to be added to data.
The EventDataAttributeComplex
object
sourceType
request.path
request.url
request.method
request.headers
request.parameters
request.body
response.body
response.headers
response.statusCode
constant.string
source