Page History
Content Layout Macro |
---|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Last Log for Confluence comes with a dedicated REST API. The following features can be used through the API:
|
View log files
UI Text Box | ||
---|---|---|
| ||
Available for Confluence administrators and system administrators |
List all available log files
Code Block |
---|
<base>/rest/lastlog/1.0/log |
View a specific log file {filename}
Code Block |
---|
<base>/rest/lastlog/1.0/log/{filename} |
Parameters
Parameter name | Input |
---|---|
maxEntries | Number of lines (integer) |
reverse | Invert order of output (boolean) |
query | Search string (string) |
regex | Search by regex (boolean) |
exclude | Exclude search string (string) |
casesensitive | Search case sensitive (boolean) |
UI Text Box | |||||
---|---|---|---|---|---|
| |||||
An example link can be found after executing a custom search.
|
Show thread dump
UI Text Box | ||
---|---|---|
| ||
Only available for Confluence system administrators |
Code Block |
---|
<base>/rest/lastlog/1.0/threads |
Kill a thread
UI Text Box | ||
---|---|---|
| ||
Only available for Confluence system administrators. Be careful. Killing. the wrong thread can seriously harm your instance! |
Code Block |
---|
<base>/rest/lastlog/1.0/threads/kill/{id} |