Get log
Retrieves the contents of a server log with the specified log name. This API is available in builds 15089 or later.
Request
- Base URLhttp://localhost:8087
- URLhttp://localhost:8087/v2/servers/{serverName}/logfiles/{logName}
- AuthHTTP basic
Path parameters
Reserved for future use
The name of the log
Query parameters
The number of log lines requested, where a postive number indicates log lines after startOffset and a negative number indicate log lines before startOffset
The byte offset in the file at which to begin getting log lines
A string containing a list of predefined search filters separated by | where valid strings are noDebug,noInfo,noWarn,noError,noHeader,noColumnHeadings
A string containing a literal string on which to filter or a regex
Indicates if the 'search' parameter is a regex or a literal string
Returns the first x lines from the requested log file, the overrides the startoffset and linecount values
Returns the last x lines from the requested log file, the overrides the startoffset and linecount values
Response
Successful response
Changes
No recorded changes to this operation across all 2 revisions of this API.