Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layout Macro

UI Text Box
sizemedium
typeinfo

Last Log for Jira comes with a dedicated REST API. The following features can be used through the API:

  • View all log files: specify various parameters and view exactly the output you need.
  • View thread dump: if you are a Jira system administrator you can quickly access the current thread dump.
  • Kill a thread: with great power comes great responsibility - Jira system administrators can even kill a thread.
UI Expand
titleView log files
UI Text Box
typenote

Available for Jira administrators and system administrators

List all available log files:

Code Block
<base>/rest/lastlog/1.0/log

View a specific log file

Code Block
<base>/rest/lastlog/1.0/log/{filename}

Parameters

Parameter  nameInput
maxEntriesNumber of lines (integer)
reverseInvert order of output (boolean)
querySearch string (string)
regexSearch by regex (boolean)
excludeExclude search string (string)
casesensitiveSearch case sensitive (boolean)
UI Text Box
typetip

An example link can be found after executing a custom search.

Code Block
titleExample
<base>/rest/lastlog/1.0/log/atlassian-jira.log?query=&maxEntries=500&exclude=&reverse=false®ex=false&casesensitive=false
UI Expand
titleShow thread dump
UI Text Box
typenote

Only available for Jira system administrators.

Code Block
<base>/rest/lastlog/1.0/threads
UI Expand
titleKill a thread
UI Text Box
typewarning

Only available for Jira system administrators.

Be careful. Killing. the wrong thread can seriously harm your instance!

Code Block
<base>/rest/lastlog/1.0/threads/kill/{id}

Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue