🚀
Introducing Versions: Develop data products using Git. Join the waitlist

Starter Kit

Log Analytics

Analyze software logs, warnings, and errors in minutes with this language-agnostic Log Analytics Starter Kit.

No credit card needed

Start analyzing your logs

Use this Starter Kit to quickly deploy all the assets you need to ingest, query, and analyze your application logs.

Watch the video tutorial

1

Deploy the Tinybird data project

Click the button below to instantly deploy the project to a Tinybird workspace.
This resources will be created in a new workspace in your Tinybird account.
Click the button below to deploy the data project to Tinybird.
This will automatically set up all of the resources you need to collect, analyze, and publish your logs.

2

Deploy the analytics dashboard

Copy this code snippet, add your tracker token, and paste it into your website <head> code.
What does this snippet track?
This snippet tracks “page_hit” events out of the box, including very basic information with privacy in mind (timestamp, path, device type, referrer, etc.) and an anonymized session id.

Keep scrolling to learn more about how to introduce custom events and learn about privacy best practices.
The Starter Kit includes an open source Next.js dashboard, which uses the amazing Tremor visualization library to create beautiful charts and metrics from your logs.
You can deploy the dashboard to Vercel for free with one click:
...or use our hosted demo dashboard if you just want to take a look around. Visit the URL below, and you'll be prompted for the app token that was created after Step 1.

https://log-analytics.tinybird.co/

3

Add your logging code

Copy the URL below, add your dashboard token, and open it in the browser. That’s it!
Send your logs to Tinybird with a simple HTTP request.

You can send your logs to the Tinybird Events API, which is a simple HTTP endpoint that accepts POST requests with NDJSON data. Write your own logger, or use any existing logging library, to push your logs to Tinybird.

The Starter Kit includes some example WebApp Loggers, like TypeScript + Next.js or Python + FastAPI, but you can write your own for any language or framework.

Use the code below to send data to Tinybird using the Events API.
Or, if you just want to test the functionality, you can generate some fake data from within the dashboard.

Why use this Starter Kit?

It’s language-agnostic

There’s no client libraries or custom data formats. The Log Analytics Starter Kit uses the Tinybird Events API, which is a standard HTTP endpoint for high-frequency log ingestion. Just send a POST request with your logs in JSON. Tinybird will do the rest.

It’s based on REST APIs

Tinybird lets you query your log data with SQL and instantly publish those queries as low-latency REST APIs. The Starter Kit includes interesting metrics and a pre-built dashboard to get you started.

It’s completely customizable

The Starter Kit includes plenty of example metrics to get you started, but you can customize them to whatever extent you need, with nothing but simple SQL. And by the way, exploratory queries in the Tinybird UI are always free. Prototype your heart out.

Get started in minutes

The Log Analytics Starter Kit can be fully deployed in just a few minutes. Get started with the free Tinybird Build Plan, including 10 GB of storage and 1,000 req/day on your published APIs. Upgrade as needed and only pay for what you use.
No credit card needed