Next: these pages describe unreleased changes on the develop branch. Read the docs for the current release
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.
cookie
session<token>Session cookie authentication.
lines?integerHow many lines to read from the end of the log, from 1 to 2000. The server clamps a value outside that range to the nearest end. Defaults to 500.
Default
500source?stringapp reads geometrikks.log, login reads login.log. Defaults to app.
Default
"app"Value in
"app""login"Request fulfilled, document follows
application/json- response
The newest records of one log, oldest first.
records*array<>curl -X GET 'https://geometrikks.example.com/api/v1/logs/tail'Example Response
{ "records": [ { "event": "string", "exception": "string", "ip": "string", "key": "string", "level": "string", "logger": "string", "timestamp": "string", "user": "string" } ]}