Analyzing log files is the key to successful troubleshooting. With Last Log for Jira, you can analyze your log files directly in the Jira administration interface.

  • All log files in a single location: Select the log file you want to analyze from a practical sidebar with dropdown menus.
  • Read your log files: Log files are displayed in an easily readable format with separated log entries and tagged meta information.
  • Configure your log view: Use the tool bar to switch to classic mode, reverse your output, expand the log view or let your log file be automatically reloaded with new log entries every few seconds, simulating a live preview of your data.
  • Search for information: The search bar makes it easy to find the precise log entries you're looking for. Use search terms, regular expressions and case sensitivity or switch to advanced search and configure filters via log level, user or timeframe.
  • Node picker: You can use the Node Picker to filter logs by specific nodes, making log analysis in multi-node environments more efficient.

Access log files

To access the Log Settings:

keycap: 1 Navigate to the Administration section of Jira.

keycap: 2 Click on Manage apps in the top navigation bar.

keycap: 3 In the left sidebar, under LAST LOG, select View log.


Analyze log files

The Last Log app has an advanced graphical user interface including a Log file sidebar of the current log, a Selected Log file section displaying all available logs, a Toolbar and a Search bar. Within the search functionality you can switch between basic and advanced search. The interface makes it easy and straightforward to find what you're looking for among the raw data of different logs.

 


Log File sidebar

Select which log file you want to investigate in the main interface out of all the available log files in your Jira instance.

Expand/Collapse

Click on the grey arrow button (top-right) to collapse or expand the log files sidebar to have more space for the main log view.

Select log file

Click on any log file in the sidebar to select a log. The selected log will be opened in the main view.

Add log file 

When you click Add Log File, you are directed to the Log Settings page.


Selected log file

View the currently selected log file and analyze its content.

The log file gets automatically divided into individual log messages which are displayed in a table format to provide an easier overview undesrtanding.

Log level 

Indicates the severity of the log entry, such as INFO or WARN.

Date

Displays the date and time when the log entry was created. 

Node Name

Specifies the node in the cluster that generated the log entry. This is particularly useful in a multi-node environment for identifying which server or instance logged the information.  It is not visible when there is only one active node in the cluster.

Log file name

Shows the name of the log file associated with this entry.

Meta information

Displays additional data related to the log entry, such as request details, server IDs, IP addresses, or other context that may assist in troubleshooting.

Message body

Contains the detailed log message describing the event or action that occurred.

User

Identifies the user or system component responsible for generating the log entry. This is only visible when a user is involved.

Expand

Allows you to expand or collapse the log entry to view more or less detailed information.


Toolbar

Change your log view according to your needs by utilizing several options from the tool bar.

Reverse output

Click on the reverse icon (down arrow) to reverse the output  of the log entries in the list, so that you see the last entries at the top.

Clicking on the icon a second time puts the list in the original order.

Reload

Click on the reload icon (clockwise vertical arrows) to let the log view automatically reload every 5 seconds. New log entries will appear automatically in the list so that you can analyze the log file on a continuous basis.

Click on the icon again to deactivate the reload.

For large log files, activating the live refresh feature can take up a lot of resources and may lead to performance issues in your Jira instance!

Classic View

Click on the screen icon to switch to the classic view of the log file screen. Here the log entries are shown as raw data, as how they appear in the file instead of getting profiled and separated data into distinct entries like in the modern view. While meta information, like the date, the user and the log level can still be found within the raw data, you need to have a good grasp on the structure of the log entries to know where to find them. The classic view enables you to focus on the raw data itself if necessary, but makes it more difficult for you to swiftly look up important information.

Click on the icon again to switch back to the modern view if you're in the classic view.

Expand

Click on the expand icon to expand all log entries at once so that you can see the message bodies. Without using the expand option you would have to manually click on the expand arrow at the end of each entry to expand them. By using the icon in the tool bar you can save time and choose what part of the log file you want to focus on.


Filter the output of log entries in your currently selected file with the search bar. Switch between basic and advanced search according to your needs.

Case sensitive search

Click on the letter icon (Aa) to enable case sensitive search. If enabled, search terms you enter will only display results that match the case of the letters. For example, searching for the term "log1" will only display results that contain "log1" and not "Log1" or "LOG1".

Click on the icon a second time to disable case sensitive search and search in case insensitive mode. Here, searching for "log1" will also display results containing "Log1" or "LOG1".

Regex

Click on the regex icon to enable the search functionality with regular expressions.

A regular expression is a sequence of symbols and characters expressing a string or pattern to be searched for within a longer piece of text. For example, you can search for words that start or end with certain characters and contain or don't contain certain characters.

Switch to basic

Click on Switch to basic to switch to basic search where advanced filtering options under the search bar aren't available.

If you're in basic search mode, click on Switch to advanced to switch to advanced search.

Log level

Filter by one or multiple log levels (ERROR, WARN, DEBUG, INFO and FATAL). This shows only log entries which are of the specified log type.

User

Filter by user name. This shows only log entries which are associated with the specified user.

Timeframe

Filter by date and time. This shows only log entries which are from within the specified timeframe.

Node picker

Filter by node. This shows log entries which are from specific nodes. 


If you still have questions, feel free to refer to our support team.