Return Filtered Logs
get
/logs/stream
Returns the logs based on specified filters. Filters can be applied for user, message text, time, and other criteria.
Request
Query Parameters
-
after:
After time (in milliseconds).
-
application:
Application name.
-
before:
Before time (in milliseconds).
-
contains:
Check if message contains this value.
-
details:
Include supporting details in the response.
-
filetype:
One or more file types.
-
msgtype:
One or more Log message types e.g. ERROR
-
tail:
Last n records - maximum of 1000.
-
user:
User ID.
Response
200 Response
OK
Logs returned successfully.
400 Response
Bad Request
Failed to return logs.
500 Response
Internal Server Error.