List the log files you can download
Lists geometrikks.log and login.log with their rotated .gz archives, then every access log in LOGPARSER_LOG_PATHS. An access log that is missing or unreadable still appears, with available false. With LOGPARSER_ENABLED=false the list has no access logs.
session<token>Session cookie authentication.
Request fulfilled, document follows
application/json- response
The log files on this server.
files*array<>curl -X GET 'https://geometrikks.example.com/api/v1/logs/files'{ "files": [ { "available": true, "kind": "app", "modifiedAt": "2019-08-24T14:15:22Z", "name": "string", "sizeBytes": 0 } ]}Get a compact dashboard overview GET
Traffic, instances, local ingestion and active CrowdSec decisions in one response. window defaults to 24h and supports up to 365 days. Traffic uses analytics/summary semantics, including whole aggregate buckets above 24 hours. latestEventAt is retained log time, not commit time. Agent freshness comes from heartbeats; local ingestion describes only this process. Each section has available, reason and data; unavailable data is null, not zero. Sections are observed sequentially. Database sections have a three-second deadline each and the CrowdSec count makes one LAPI request with a two-second deadline.
Download a log file GET
Sends the file as an attachment, as gzip for a `.gz` archive and as plain text otherwise. You can download only a file the file list shows as available. Anything else gets a 404.