Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to update the dataset you have created.
- Create a Convex account with a Professional plan.
- Set up your app with Convex. For example, follow one of the quickstart guides in the Convex documentation.
Configure Convex log streams
To send data from Convex to Axiom, set up a Convex log stream:1
Configure Axiom integration in Convex
In your Convex dashboard, configure the Axiom integration. For more information, see the Convex documentation about configuring an integration.During this process, you need the following:
- Dataset name: The name of the Axiom dataset where you want to send data.
- API key: Your Axiom API token.
- Attributes (optional): A list of key-value pairs to include in all events your app sends to Axiom. Attributes are useful for adding context like project name, environment, or team information to all your logs.
2
Verify connection
Convex verifies the connection to Axiom and displays a confirmation when the log stream is active.
Benefits of streaming Convex logs to Axiom
The Convex log streaming integration with Axiom provides several key benefits:- Complete observability: Monitor all function executions, errors, and performance metrics in one place
- Historical analysis: Store and analyze logs beyond Convex’s recent logs view
- Advanced querying: Use APL to create complex queries and aggregations
- Real-time monitoring: Set up alerts and monitors for proactive issue detection
- Custom dashboards: Build tailored visualizations for your specific use cases
- Team collaboration: Share insights and dashboards with your development team