Log Search/Log Watch

Table of Contents

Overview

AppFirst provides the ability to search your logs and watch them come in live. In order to use Log Search and Log Watch, you’ll need to have your logs configured in AppFirst. For details on how to do that, you can check out our Logs documentation.

How to use Log Search

Navigate to the Log Search page by hovering over the Logs icon on the bottom of the navigation and clicking Log Search. At this point, you can choose which log sources to search by clicking “Log Sources” next to the search bar. Click on the sources in the left column to add them to the list on the right. Click again on “Log Sources” to continue.

1

To the right of the Log Sources dialog is an area to enter keyword search terms. To the right of the search area are options to filter your search by time or severity. After that, just click the Search button to execute your search.

2

Search results will look similar to the image below. The results of any search can be further refined by dragging the sliders on the edges of the histogram to the desired time range.

3

You can also click on a message to view the full Log file context which will show all messages before and after the clicked message.

4

Finally, AppFirst provides the ability to export the search results as a CSV.

5

How to use Log Watch

The AppFirst Log Watch feature allows you to watch logs from multiple servers and sources as they are indexed.

Navigate to the Log Watch page by hovering over the Logs icon on the bottom of the navigation and clicking Log Watch. Choose any number of log sources you want to watch from the selection box on the left. Chosen sources will be highlighted in green.

Log Watch

AppFirst will display log events as they are indexed in real time. Hovering over a message will turn it green and highlight the log source above in blue.

7

Adding an Additional Frame

You have the ability to split the screen vertically or horizontally to add more space to watch your live logs. This is helpful if you’ve just pushed new code and need to monitor your log files for errors, as well many other use cases.
Log Watch - Two Frames

Click the plus sign image in the bottom right to add more frames. Click the horizontal or vertical lines next to the plus sign to switch from vertical to horizontal frames.
Log Watch - Two Frames (Horizontal)