Track activity in Axiom
This page explains how to track activity in your Axiom organization with the audit log.
The audit log allows you to track who did what and when within your Axiom organization.
Tracking activity in your Axiom organization with the audit log is useful for legal compliance reasons. For example, you can investigate the following:
- Track who has accessed the Axiom platform.
- Track organization access over time.
- Track data access over time.
The audit log also make it easier to manage your Axiom organization. They allow you to do the following, among others:
- Track changes made by your team to your observability posture.
- Track monitoring performance and identify which monitors generate the most query load.
- Monitor query costs and optimize expensive queries before they impact your budget.
- Trace queries back to their source (monitors or direct queries) for debugging.
The audit log is available to all organizations. How far back you can query the audit log depends on your plan. Without the Extended Audit Logs add-on, some plans limit the query window, and Console displays Audit log results are limited to the last N days on your plan. You can purchase the Extended Audit Logs add-on on the Axiom Cloud plan. For more information, see Manage add-ons.
Explore audit log
- In the sidebar, click Query, and then click Editor.
- Query the
axiom-auditdataset. For example, run the query['axiom-audit']to display the raw audit log data in a table. - Optional: Customize your query to filter or summarize the audit log. For more information, see Query data.
- Click Run.
The action field specifies the type of activity that happened in your Axiom organization.
Export audit log
- Run the query to display the audit log.
- Click More > Download as JSON.
Give access to audit log
Any role with the organization-level Audit log (read) capability can query the axiom-audit dataset. Granting query access to all datasets doesn’t include access to the audit log. For more information, see Assign capabilities to roles.
Use cases and examples
The audit log captures rich context about queries run in your organization:
- Query representation: Privacy-safe representations of queries help you understand query patterns without exposing sensitive data.
- Query source: Track whether queries originated from monitors or direct queries.
- Query cost: Monitor resource consumption in query units for cost optimization.
- Storage bytes scanned: Understand data volumes processed by each query.
The examples below illustrate how the audit log can help you optimize performance, manage costs, and debug issues by tracing queries back to their origin.
Monitor high-cost queries
Identify queries that consume significant resources:
This query lists queries costing more than 1000 query units and helps you spot expensive queries and optimize them before they impact your budget.
Track monitor query load
Understanding which monitors generate the most query activity helps you optimize performance:
Use this to identify monitors that might benefit from query optimization or frequency adjustments.
Analyze dataset usage
Find out which datasets are used the most:
This query helps you understand how your team interacts with Axiom and identifies datasets that may need optimization.
Track ingest by dataset
Track how much data each dataset ingests over time:
Determine total data ingest
Determine total data ingest across all datasets over time:
Track query sources
See the distribution of queries across different sources:
This helps you understand how your team interacts with Axiom and where queries originate.
List of trackable actions
The action field specifies the type of activity that happened in your Axiom organization. The actions that Audit logs allow you to track are the following:
- addSubscriptionProduct
- aplDelete
- claimOrg
- createAnnotation
- createAPIToken
- createDashboard
- createDataset
- createEndpoint
- createGroup
- createLabel
- createMapField
- createMonitor
- createNotifier
- createOrg
- createOrgStorage
- createPersonalToken
- createRecordingRule
- createRole
- createUser
- createView
- createVirtualField
- deleteAnnotation
- deleteAPIToken
- deleteDashboard
- deleteDataset
- deleteDatasetFields
- deleteEndpoint
- deleteGroup
- deleteLabel
- deleteMapField
- deleteMonitor
- deleteNotifier
- deleteOrg
- deletePersonalToken
- deleteRecordingRule
- deleteRepo
- deleteRole
- deleteSession
- deleteShareLink
- deleteView
- downgradeOrg
- downgradePlan
- enrolStartupProgram
- fieldLimitApproached
- fieldLimitExceeded
- getDashboard
- getDatasetFields
- getDatasetSchemaHealth
- getDatasetUnusedFields
- getField
- getSharedRepos
- hourlyCreditBurn
- identifyAPIToken
- lockDatasetSchema
- logout
- logoutEverywhere
- messageSent
- notifierFailed
- notifierTriggered
- notifyCustomerIOIssues
- notifyFineGrainedAPITokenExpiry
- notifyIngestAuthFailures
- notifyIngestWrongPath
- notifyNotifierDisabled
- notifyReclaimedFields
- notifyStartupProgramExpiry
- postRepos
- provisionStripeCustomer
- purchaseCredits
- regenerateAPIToken
- regeneratePersonalToken
- removeRBAC
- removeSubscriptionProduct
- removeUserFromOrg
- resolveMonitor
- resolveMonitorAll
- rotateSharedAccessKeys
- runAPLQuery
- runAPLQueryCost
- runMetricsQuery
- runMetricsQueryCost
- sendOrgDeletedEmails
- sendOrgMonthlyIngestedExceededEmail
- sendOrgMonthlyIngestedNearLimitEmail
- sendUserDeletedEmail
- sendWelcomeEmail
- setEnableAI
- setWorkOSNewUserRole
- shareRepo
- startupProgramCapReached
- streamDataset
- triggerNotifier
- triggerNotifierWithID
- trimDataset
- unlockDatasetSchema
- unShareRepo
- updateAPITokenLimits
- updateDashboard
- updateDataset
- updateDatasetRetention
- updateDatasetSettings
- updateEndpoint
- updateField
- updateGroup
- updateLabel
- updateMapFields
- updateMonitor
- updateNotifier
- updateOrg
- updatePaymentMethod
- updatePersonalToken
- updateRecordingRule
- updateRepo
- updateRetention
- updateRole
- updateSpendLimit
- updateSubscriptionProducts
- updateUser
- updateUserSettings
- updateView
- updateVirtualField
- upgradeOrg
- upgradePlan
- usageCalculated
- useShareLink
- vacuumDataset