Export log lines
Use this method to export logs in JSON format from a logging instance.
Authorizations
The primary authentication method for the Mezmo API.
Pass the key in the Authorization header in the format Token <ACCESS TOKEN>.
For example:
This key is used for all APIs with the exception of ingest.
Query Parameters
Start time. Set as UNIX timestamp in seconds or milliseconds.
End time. Set as UNIX timestamp in seconds or milliseconds.
Number of log lines to include in the export.
Comma-separated list of hosts.
Comma-separated list of applications.
Comma-separated list of log levels.
Search query.
Defines the log lines that you want to export. Valid values are head, first log lines, and tail, last log lines. If not specified, defaults to tail.
Specifies the email with the downloadable link of your export. By default, the log lines are streamed.
Use to set the subject of the email. Use to represent a space. For example, a sample value is Export logs.
Response
OK

