Activity log
Overview
Every event on the Stigg platform is audited, and visibility for these events is available via the Activity Log.
Using the Activity Log users can answer the following questions:
- What happened?
- When did it happen?
- Who (or what) triggered the event?
Thus, the Activity Log serves as an audit log for actions on the Stigg platform and can also be useful for troubleshooting.
The Activity Log is currently in beta for all customers on the Stigg Growth plan or higher, and provides accurate information for all events that took place on May 22nd, 2024 or later.
Event information
Every event includes the following properties:
- Event name - indicates what happened
- Timestamp - the timestamp that the event occurred on
- Trace ID - a unique ID of the event
- Entity - the Stigg entity that the event is associated with, for example: a plan, customer or subscription
- Actor - the entity that triggered the event, including: actor type, name and email address of the user that triggered the event (when relevant) and IP from which the event was triggered
- Event payload - the event data
Actor types
Type | Description |
---|---|
Stigg application | An event that was triggered by a logged in user in the Stigg app |
Backend SDK | An event that was triggered by the backend SDK, for example: by a customer or migration script |
Frontend SDK | An event that was triggered by the frontend SDK, for example: by a customer |
Salesforce | An event that was triggered by the CRM integration with Salesforce |
Stripe | An event that was triggered by the billing integration with Stripe |
AWS Marketplace | An event that was triggered by the integration with the AWS Marketplace |
Import process | An event that was triggered by an import process into Stigg |
Subscription migration | An event that was triggered by a subscription migration |
System | An event that was triggered by an automation of the Stigg platform |
Stigg support | An event that was triggered by a Stigg support representative |
Access via the Stigg app
General log
The general log provides visibility for all of the events that took place on the selected Stigg environment and is accessible via the "Activity" item on the left navigation pane.
![](https://files.readme.io/7abc280-Screenshot_2024-06-13_at_22.33.40.png)
Entity-specific log
An entity-specific activity log is accessible via the "Activity" tab of the customer, subscription plan and add-on entities.
The entity-specific log includes only events that are relevant for the specific entity; thus, making troubleshooting easier.
![](https://files.readme.io/cae8c5d-Screenshot_2024-06-13_at_22.34.41.png)
Copying event links
Users can copy links to specific events by clicking on the "Copy event link" button in the header of a specific event.
Event links can be shared with other users that have access to the Stigg app, which can also assist with troubleshooting.
![](https://files.readme.io/527256d-Screenshot_2024-06-13_at_22.35.12.png)
Navigating between events
Stigg allows you to easily navigate between different events by either selecting the relevant event from the Activity Log table, or via the arrows at the footer of a specific events.
![](https://files.readme.io/fd327dc-Screenshot_2024-06-13_at_22.35.57.png)
Access via API
Query
query EventLogs($filter: EventLogFilter!) {
eventLogs(filter: $filter) {
edges {
node {
id
createdAt
accountId
environmentId
eventLogType
entityType
entityId
parentEntityId
actor {
type
name
email
ipAddress
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
Variables
{
"filter": {
"eventLogType": {
"notIn": ["MEASUREMENT_REPORTED"]
},
"environmentId": {
"eq": "<ENVIRONMENT_ID>"
}
}
}
More details about the GraphQL API can be found here:
Usage events
Usage events are accessible via a dedicated Usage Event Log:
Updated 3 months ago