Overview
Coralogix is a full-stack observability platform. IncidentFox integrates with Coralogix to:
- Search logs across applications and subsystems
- Query metrics for anomaly detection
- Access alert history and context
- Integrate with Olly (Coralogix’s AI SRE agent)
Prerequisites
- Coralogix account with API access
- API key with read permissions
- Knowledge of your Coralogix domain
Configuration
Step 1: Generate API Key
- Log in to your Coralogix dashboard
- Navigate to Data Flow > API Keys
- Click Generate New Key
- Select scopes:
logs:read
metrics:read
alerts:read
- Copy the generated key
Store the API key immediately - it won’t be shown again.
Step 2: Identify Your Domain
Coralogix has regional domains:
| Region | Domain |
|---|
| US | coralogix.com |
| EU | eu2.coralogix.com |
| India | app.coralogix.in |
| Singapore | coralogixsg.com |
Step 3: Add to IncidentFox
Via Web UI:
- Go to Team Console > Integrations
- Click Add Integration > Coralogix
- Enter:
- API Key
- Domain
- Default Application (optional)
- Default Subsystem (optional)
- Click Test Connection
- Save
Via Configuration:
{
"tools": {
"coralogix": {
"enabled": true,
"api_key": "vault://secrets/coralogix-api-key",
"domain": "coralogix.com",
"default_application": "production",
"default_subsystem": "backend"
}
}
}
Once configured, these tools become available:
search_coralogix_logs
Search logs with Lucene query syntax.
@incidentfox search coralogix logs for "error" AND "payments" in the last hour
Parameters:
query - Lucene query string
application - Application filter (optional)
subsystem - Subsystem filter (optional)
time_range - Time range (default: 1 hour)
get_coralogix_metrics
Query metrics data.
@incidentfox get coralogix metrics for request_latency_p99 in payments service
Parameters:
metric_name - Name of the metric
filters - Label filters
aggregation - Sum, avg, max, min, etc.
time_range - Time range for query
get_coralogix_alerts
Retrieve recent alerts.
@incidentfox show coralogix alerts for the last 24 hours
Parameters:
severity - Filter by severity (optional)
status - Active, resolved, all
time_range - Time range
get_coralogix_traces
Get distributed traces for a service.
@incidentfox get traces for the checkout flow with high latency
Parameters:
service - Service name
operation - Operation/endpoint (optional)
min_duration - Minimum trace duration
time_range - Time range
Olly Integration
Coralogix’s AI SRE agent, Olly, can work alongside IncidentFox for enhanced investigations.
How It Works
IncidentFox can:
- Query Coralogix data directly
- Request Olly’s analysis of specific issues
- Combine Olly’s insights with data from other sources
Enabling Olly Integration
{
"tools": {
"coralogix": {
"enabled": true,
"api_key": "vault://secrets/coralogix-api-key",
"domain": "coralogix.com",
"olly_enabled": true
}
}
}
Example: Combined Investigation
@incidentfox investigate high error rates in the checkout service, use Olly for analysis
IncidentFox will:
- Query Coralogix logs for errors
- Ask Olly to analyze the error patterns
- Correlate with metrics from other sources
- Provide combined findings
Use Cases
Log Search During Incidents
@incidentfox search coralogix for exceptions in payments-service since the alert fired
IncidentFox will:
- Query recent logs matching the criteria
- Identify error patterns
- Correlate with recent deployments
Metrics Correlation
@incidentfox check if latency spike in coralogix correlates with database connection issues
Alert Investigation
@incidentfox get context for the latest coralogix alert on cart-service
Troubleshooting
Connection Failed
Symptom: “Unable to connect to Coralogix API”
Solutions:
- Verify API key is valid and not expired
- Check domain is correct for your region
- Ensure network allows outbound HTTPS to Coralogix
Empty Results
Symptom: Queries return no data
Solutions:
- Verify application/subsystem names are correct
- Check time range - data may be outside the range
- Verify the query syntax (Lucene format)
Rate Limiting
Symptom: “Rate limit exceeded” errors
Solutions:
- Reduce query frequency
- Use more specific queries
- Contact Coralogix to increase limits
Best Practices
Use application and subsystem filters to narrow results and improve query performance.
- Set default filters in configuration to reduce noise
- Use specific time ranges - don’t query more data than needed
- Leverage Olly for pattern recognition in large log volumes
- Combine with other sources - Coralogix for logs, Grafana for metrics
Security Considerations
- API keys should have read-only permissions
- Store keys in your secrets manager
- Rotate keys periodically
- Monitor API usage for anomalies
Next Steps