Prerequisites
- Coralogix account with DataPrime query access
- Logs API key
Setup
Option 1: Interactive CLI
Option 2: Environment variables
Add to your.env:
Option 3: Persistent store
Cluster endpoints
Creating an API key
- In Coralogix, go to Data Flow → API Keys
- Click + New API Key
- Select Logs Query as the key type
- Copy the key
Verify
Troubleshooting
Security best practices
- Use a read-only Logs Query key — avoid admin or send-data keys.
- Store the API key in
.env, not in source code.
Tracer