Log Source Discovery
Identifies where logs are stored and how to access them across different environments and services.Overview
This skill discovers available log sources based on environment and service specifications. It reads configuration files and returns usable log source definitions.When to Use
Use this skill when:- User asks to analyze logs without specifying a source
- Setting up a new analysis pipeline
- Verifying log source configurations
- Switching between environments (local/staging/production)
Directory Structure
Instructions
-
Read configuration: Load
config/log_sources.yaml - Parse input: Extract environment, service name, and time range
- Run discovery: Execute the discovery script
- Outputs: Return discovered log sources
-
Pass to next skill: Provide sources to
fetch_logs - Handle missing sources: Suggest checking config or default paths
Input
Output
Supported Source Types
| Type | Description | Configuration |
|---|---|---|
filesystem | Local log files | path - directory location |
elasticsearch | Elasticsearch indices | host, port, index |
custom | Custom log sources | Extensible via plugins |
Configuration Example
Related Skills
- Fetch Logs - Retrieves logs from discovered sources
