Overview
IncidentFox integrates with Elasticsearch for log search, aggregations, and analysis. This is commonly used alongside the ELK stack (Elasticsearch, Logstash, Kibana).Tools Available
| Tool | Description |
|---|---|
search_logs | Search logs with query DSL |
aggregate_errors_by_field | Aggregate error counts by field |
get_log_statistics | Get log volume statistics |
Configuration
With API Key Authentication
Authentication Methods
| Method | Configuration |
|---|---|
| Basic Auth | username and password or combined auth |
| API Key | api_key field |
| Cloud ID | cloud_id for Elastic Cloud |
Example Queries
Search for Errors
Aggregate by Error Type
Find Specific Logs
Use Cases
Error Investigation
When investigating application errors:- Search for error logs matching the timeframe
- Aggregate by error type to find patterns
- Drill down into specific error instances
Log Correlation
Correlate logs across services:- Search logs from multiple indices
- Filter by trace ID or request ID
- Build timeline of events
Performance Analysis
Analyze slow requests:- Search for logs with high latency
- Aggregate by endpoint or service
- Identify bottlenecks
Index Patterns
Configure which indices to search:Multiple Index Patterns
Required Permissions
Create a role with these permissions:Troubleshooting
Connection Issues
- Verify hosts are reachable
- Check SSL/TLS configuration
- Verify authentication credentials

