← Back to Guides
Profile image for Dan Ambrose

By Dan Ambrose

Published 17th April 2023

Send logs to Logtail from Northflank

Logtail offers SQL-compatible log management, with team collaboration, alerts, archiving, and more. Integrating Logtail with your Northflank account is simple and allows you to collate and manage logs from all your builds and deployments. This guide will detail everything you need to know to send logs to Logtail from Northflank.

Get your log source token

To add Logtail to your Northflank account you need to create a log source. On the create sources view, select HTTP as the platform.

logtail-source.png

Once the source is created, copy or save your log source token.

Create your Logtail sink

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 your integration, select Logtail as the sink type, and paste in your source token.

add-logtail-sink.png

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.

Add the log sink and your logs should now start arriving in Logtail!

View your logs

Before your log sink is created, Northflank will send a log line to your sink to verify the credentials are correct. This appears as a log line consisting of validating log sink credentials.

logtail-logs.png

In Logtail you can click on a log to expand the log line to see additional labels.

logtail-log-details.png

Update your log sink

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.

Have questions or feedback? You can always reach out to our team.

Share this article with your network