BetterStack logs, monitors, and incidents.Your agent can inspect the current setup, prepare the connection and test access. You choose the account and resource scope, approve provider consent when needed, and authorize any required grants.
Connect BetterStack so Struct Agent can use its logs, monitors and incidents as production context. Reuse an existing connection and verify the access needed for the task.Use the catalog’s current fields, choices and permission requirements. Reuse an existing healthy connection instead of creating a duplicate.Inspect
Inspect access and existing connections
Use a claimed workspace with permission to configure connections.Connect with the CLI
Supply credentials from approved secret storage throughBETTERSTACK_TOKEN, BETTERSTACK_SQL_PASSWORD. The catalog describes which are needed for the selected authentication method. Do not put literal secrets in shell arguments or chat.Replace example values with the intended resource:Verify and recover
Use the returned connection ID:ok, health and missing permissions, not only the exit code. struct connections grant-command CONNECTION_ID prints repair instructions where supported; have an authorized operator apply them. For expired OAuth links, start the connection command again and use the new link. Do not reconnect to a different account silently.Verify a bounded operation for the requested job. Connection health proves checked access; it does not prove telemetry arrival, an investigation or alert delivery.What Struct reads
Logs from your BetterStack sources, filtered by time and content.Permissions
A BetterStack Telemetry API token, plus the host, user and password of the Telemetry SQL connection Struct queries logs through.Telemetry sources and logs
List telemetry sources and query their logs.Permission catalog version
2026-11-04.1. See permission changes.