Rotate the app and login logs now
Starts fresh log files and gzips the old ones into archives. It skips a log that is empty. Returns the names of the files that rotated. Needs a Read/write API key or a browser session.
session<token>Session cookie authentication.
Document created, URL follows
application/json- response
The log files that rotated.
rotated*array<string>Their file names, such as geometrikks.log.
curl -X POST 'https://geometrikks.example.com/api/v1/logs/rotate'{ "rotated": [ "string" ]}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.
Get the newest app or login log records GET
Returns the last `lines` lines of geometrikks.log or login.log as records, oldest first. It skips lines that do not parse, so fewer records can come back. App log records keep every key the event carried, so expect more keys than the schema lists.