config.yamlā¢2.1 kB
# ========================================
# Kibana MCP Server Configuration
# ========================================
#
# SECURITY GUIDELINES:
# - NEVER store auth tokens, API keys, or passwords in this file
# - Auth tokens: Set via API endpoints (POST /api/set_auth_token)
# - API keys: Set via environment variables (export GOOGLE_AI_API_KEY=...)
# - This file is for infrastructure and deployment settings only
#
# ========================================
# Elasticsearch / Kibana Settings
elasticsearch:
# REQUIRED: Your Kibana/Elasticsearch host (e.g., "kibana.example.com")
# Used in: src/clients/kibana_client.py
host: ""
# Timestamp field name used in your logs
# Common values: "@timestamp", "timestamp", "start_time"
# Used in: src/services/log_service.py
timestamp_field: "timestamp"
# SSL certificate verification
# Used in: src/clients/http_manager.py
verify_ssl: true
# Kibana API configuration
# Used in: src/clients/kibana_client.py
kibana_api:
version: "7.10.2"
base_path: "/_plugin/kibana"
# MCP Server Settings
mcp_server:
# Server bind address
# Used in: main.py
host: "0.0.0.0"
# Server port
# Used in: main.py
port: 8000
# Log level: debug, info, warning, error, critical
# Used in: src/core/logging_config.py
log_level: "info"
# Logging Configuration
logging:
# Enable file logging (logs to file in addition to console)
# Used in: src/core/logging_config.py
enable_file: false
# Log file path (only used if enable_file is true)
file_path: "logs/kibana_mcp_server.log"
# Log rotation policy (e.g., "10 MB", "1 day", "1 week")
rotation: "10 MB"
# Log retention policy (e.g., "30 days", "1 week")
retention: "30 days"
# Periscope Configuration (optional - only needed if using Periscope)
periscope:
# Periscope host (e.g., "periscope.example.com")
# Used in: src/clients/periscope_client.py
# Default: "periscope.breezesdk.store"
host: ""
# Timeout Configuration
timeouts:
# Kibana request timeout (in seconds)
# Used in: src/services/log_service.py
kibana_request_timeout: 30