Getting Started
Start logging in minutes with our simple setup guide
Database Per Tenant
API Key Auth
CLI Tool Included
Quick Setup Guide
1 Choose Your Plan
Start with our free plan or upgrade for longer retention periods:
View Pricing & Subscribe2 Get Your API Key
After subscribing, you'll receive an API key starting with lgy_
- save it securely!
3 Submit a Log Entry
Use your API key to submit logs:
curl -X POST https://your-tenant.logably.net/api/logs \
-H "Content-Type: application/json" \
-H "X-API-Key: lgy_your_api_key_here" \
-H "X-Tenant-Id: mycompany" \
-d '{
"content": {
"message": "Application started successfully",
"version": "1.0.0",
"environment": "production"
},
"logLevel": "info",
"source": "my-application",
"tags": ["startup", "production"]
}'
4 Query Your Logs
Search and filter logs:
curl "https://your-tenant.logably.net/api/logs?source=my-application&level=info&limit=10" \
-H "X-Tenant-Id: mycompany"
5 Use the CLI Tool
Install and configure the CLI:
# Install globally
dotnet tool install -g Logably.CLI
# Configure CLI
lgby config set endpoint https://your-tenant.logably.net
lgby config set api-key lgy_your_api_key_here
lgby config set defaultTenant mycompany
# Query logs
lgby query --source my-application --format table
# Submit a log
lgby submit --message "Hello from CLI" --level info
# View your API keys
lgby keys list
Multi-Tenant Architecture
- Database per tenant for complete isolation
- Automatic database initialization
- Subdomain or header-based tenant resolution
API Key Authentication
- Simple API key authentication
- SHA256 hashed storage
- Usage tracking and metrics
Powerful Search
- Full-text search
- Filter by source, level, tags
- Date range queries
CLI Tool
- Beautiful terminal UI with Spectre.Console
- Multiple output formats (table, JSON, CSV)
- Persistent configuration
API Endpoints
POST
/api/logs
Submit a log entry
GET
/api/logs/{"{key}"}
Get a specific log by unique key
GET
/api/logs?search=...&source=...&level=...
Search and filter logs