Licenses
License events provide feature-level consumption information, allowing you to monitor license usage and track usage against license limits.
Event triggered when usage is reported for a license.
Payload
object- id string
Unique identifier of the event.
- time string
Timestamp of when the event is emitted.
- type stringRequired
The event type identifier.
- source string
The source of the event. Always set to the fixed value
qlik.com/licensesby the publisher. - specversion string
CloudEvents spec version.
Can be one of: "1.0"
- datacontenttype string
The content type of the event payload.
- authtype string
The type of principal that triggered the event.
- authclaims string
JSON string representing claims of the principal.
- tracestate string
A comma-delimited list of key-value pairs.
- traceparent string
Contains a version, trace ID, span ID, and trace options.
- data objectRequired
data properties
- unit string
The usage unit.
- featureId stringRequired
The feature identifier.
- periodEnd string
End of the current usage period, if specified.
- periodType string
The reset period type (e.g. month).
Can be one of: "day""week""month""year"
- usageLimit numberRequired
The total amount of the feature resource available for the current period.
- featureName string
The feature display name.
- isSoftLimit booleanRequired
Whether the limit is a soft limit. Soft limits are not enforced.
- periodStart string
Start of the current usage period, if specified.
- currentUsage numberRequired
Current consumption of the feature resource.
- currentChange numberRequired
Change in usage since last measurement.
- hasUnlimitedUsage booleanRequired
Whether there is unlimited availability of the feature resource for the current period. If true, usageLimit is null and usageUsedPercentage is 0.
- usageUsedPercentage numberRequired
Percentage of the feature resource consumed. Relative to usageLimit, can go above 100.
-
- tenantid stringRequired
Unique identifier of the tenant related to the event.
com.qlik.core.license.consumption.reported
Example payload of the "Consumption reported" event
{ "id": "string", "time": "2018-10-30T07:06:22Z", "type": "com.qlik.core.license.consumption.reported", "source": "string", "specversion": "1.0", "datacontenttype": "application/json", "authtype": "string", "authclaims": "string", "tracestate": "string", "traceparent": "string", "data": { "unit": "string", "featureId": "string", "periodEnd": "2018-10-30T07:06:22Z", "periodType": "day", "usageLimit": 42, "featureName": "string", "isSoftLimit": true, "periodStart": "2018-10-30T07:06:22Z", "currentUsage": 42, "currentChange": 42, "hasUnlimitedUsage": true, "usageUsedPercentage": 42 }, "tenantid": "string"}