Get Started in 5 Minutes
From zero to production-ready logging. Follow these simple steps.
1
Create Your Account
Sign up for free. No credit card required. Takes 30 seconds.
What you'll get:
- ✓ 100K events per month
- ✓ 7-day retention
- ✓ All features included
- ✓ No credit card required
2
Get Your API Key
After signing up, you'll receive your API key instantly in the dashboard.
Your API Key
lf_abc123xyz789...Keep this secret! It's like a password for your logs.
Security tip:
- Store in environment variables
- Never commit to Git
- Rotate regularly for production
3
Install the SDK
Choose your language and install with one command.
Install Go SDK
go get github.com/logflux-io/logflux-go-sdk4
Send Your First Log
Add 3-5 lines of code to your application. That's it!
main.go
import "github.com/logflux-io/logflux-go-sdk/pkg/client"
client := client.NewUnixClient("/tmp/logflux-agent.sock")
client.Connect(context.Background())
defer client.Close()
// Send a log
entry := types.NewLogEntry("Application started!", "my-app")
client.SendLogEntry(entry)5
View Your Logs
Check your logs in the dashboard, CLI, or Grafana. Choose what works for you.
Need Help?
We're here to help you get up and running