By Dan Ambrose
Published 26th March 2024
You will need a Dataset in Axiom to receive your logs. If you don't already have a Dataset, or want to create a new one, select your organisation in the Axiom dashboard and navigate to the Datasets page.
Click new dataset and give it a name and description.
In the Axiom dashboard, open your account menu and select the API tokens page.
Create a new API token and give it a name and description. Set the permissions to ingest
, and optionally restrict it to a dataset.
Add the new API key and copy or save the token somewhere secure.
Follow this link or navigate to the log sinks page in your team or user account settings, and add a log sink.
Enter a recognisable name for the sink and select Axiom
as the sink type.
Enter a name for the log sink and fill in the fields with your Axiom Dataset and API token. You shouldn’t need to modify the Axiom URL, unless you are self-hosting Axiom.
By default, all logs from your account will be forwarded to Axiom. To target specific projects, open advanced options and specify which projects to forward logs from.
You can also enable custom label parsing if your application is configured to send additional keys in JSON-formatted log lines.
Finally, click add log sink to create your Axiom integration.
Before your log sink is created, Northflank will send a log line to your Axiom sink to verify the credentials are correct. This appears as a log line consisting of validating log sink credentials
.
Clicking on a log line will show additional metadata.
Learn more about managing logs in Axiom with their documentation.
If you want to modify your sink after creation, navigate to the log sink list and click on the sink to view its details.
You can update the project targets and sink data as well as pause/resume the sink.
Northflank allows you to deploy your code and databases within minutes. Sign up for a Northflank account and create a free project to get started.
- Deployment of Docker containers
- Create your own stateful workloads
- Persistent volumes
- Observe & monitor with real-time metrics & logs
- Low latency and high performance
- Multiple read and write replicas
- Backup, restore and fork databases