Fugo Config
Fugo uses YAML configuration files. The main configuration file is located at /etc/fugo/config.yaml.
Fugo Configuration
server: listen: 127.0.0.1:2111 cors: origin: "*"
storage: sqlite: path: /var/lib/fugo/fugo.db
file_input: offsets: /var/lib/fugo/offsets.yaml limit: 100server: Configuration for the HTTP API server.storage: Configuration for the log storage backend.file_input: General configuration for file-based input.
Server Configuration
listen: The address and port for the HTTP server (e.g., “127.0.0.1:2111” or “:2111”).cors: CORS configuration for the HTTP server. Default is disabled.
SQLite Configuration
path: Path to the SQLite database file. If the file does not exist, it will be created.journal_mode: SQLite journal mode. Default iswal. Other options aredelete,truncate,persist,memory, andoff.synchronous: SQLite synchronous mode. Default isnormal. Other options arefull,off, andextra.cache_size: SQLite cache size in pages. Default is10000pages. Use negative values for kibibytes.
File-Based Input Configuration
offsets: Path to the offsets file. This file stores the last read position for each log file.limit: Maximum number of lines to read when the log file is opened for the first time. Default is100. Set to0for no limit.