Skip to content

Agent Configuration

The agent is configured via a single config file and a set of environment variables.

Config file location

  • Linux / macOS: /etc/lorika/agent.yaml
  • Windows: C:\ProgramData\Lorika\agent.yaml

Example config

yaml server_url: https://api.lorika.dev device_token: "<set-by-installer>" scan_interval: 3600 # seconds (overridden by plan) telemetry_opt_in: false log_level: info

Environment variables

Variable Default Description
LORIKA_SERVER_URL https://api.lorika.dev API endpoint
LORIKA_LOG_LEVEL info debug, info, warn, error
LORIKA_SCAN_NOW unset Force immediate scan on startup

Logs

  • Linux: journalctl -u lorika-agent
  • macOS: log show --predicate 'process == "lorika-agent"'
  • Windows: Event Viewer → Applications and Services → Lorika