managing-loggly
Installation
SKILL.md
Loggly Monitoring Skill
Query, analyze, and manage Loggly log data using the Loggly API.
API Overview
Loggly uses a REST API at https://<SUBDOMAIN>.loggly.com/apiv2.
Core Helper Function
#!/bin/bash
loggly_api() {
local endpoint="$1"
curl -s "https://${LOGGLY_SUBDOMAIN}.loggly.com/apiv2/${endpoint}" \
-H "Authorization: Bearer $LOGGLY_API_TOKEN"
}