Beamlens.Skill.Logger
(beamlens v0.3.1)
View Source
Application log monitoring skill.
Captures and analyzes application logs via an Erlang :logger handler
to help identify error patterns, log anomalies, and module-specific issues.
Requires Beamlens.Skill.Logger.LogStore to be running. The LogStore
is automatically started when configuring the :logger watcher.
Usage
{Beamlens, skills: [:beam, :logger]}Sensitive Data
This skill captures application log messages and makes them available for LLM analysis. Ensure your application logs do not contain sensitive data (PII, secrets, tokens) before enabling this watcher.
All functions are read-only with zero side effects.
Summary
Functions
Returns the Lua sandbox callback map for log analysis.
High-level log statistics for quick health assessment.
Functions
Returns the Lua sandbox callback map for log analysis.
These functions are registered with Puck.Sandbox.Eval and can be called from LLM-generated Lua code.
High-level log statistics for quick health assessment.
Returns counts by log level and error rate over a 1-minute rolling window.