LiveTail provides a real-time view of your logs, allowing you to monitor events, filter for specific information, and troubleshoot issues without accessing your servers directly.
Prerequisites
This feature requires logs collected by Logtail. For more information, see Use Logtail to collect logs.
Background information
For online troubleshooting, you need to monitor logs in real time to quickly identify the cause of an issue. Traditionally, this requires running commands like tail -f on a server, often combined with grep or grep -v to filter by keyword. Simple Log Service simplifies this process with LiveTail, an interactive feature in the console that lets you monitor and analyze logs in real time, reducing your operational overhead.
Benefits
-
Monitor logs in real time and filter by keyword.
-
Applies indexes to collected logs based on your collection configurations.
-
Splits field values into words for contextual searches.
-
Trace a specific log entry back to its source file for real-time monitoring, without logging in to the server.
Procedure
The LiveTail feature is available only for logs collected by Logtail.
Log on to the Simple Log Service console.
In the Projects section, click the one you want.

On the tab, click the logstore you want.

-
On the tab, find the log that you want to monitor and click the
icon. -
In the LiveTail area, view the results. After you enable LiveTail, logs collected by Logtail appear in the monitoring list in real time. The newest logs are always at the bottom of the page, and the scrollbar defaults to this position. The display is limited to 1,000 logs. When this limit is reached, the page automatically refreshes to show the newest entries.
More operations
|
Actions |
Description |
|
Highlight strings |
You can specify one or more strings to highlight. After you save the settings, the specified strings are highlighted in the monitoring list. |
|
Filter logs by string |
You can specify one or more strings to use as a filter. After you save the settings, only logs that include these strings are displayed. |
|
Filter logs by field |
From the All Fields drop-down list, you can select one or more fields to hide. After you apply the settings, the selected fields are hidden from the monitoring list. |
|
Stop |
You can stop the LiveTail session to analyze specific log entries. When stopped, the log stream pauses, and no new logs are displayed. This lets you investigate any issues you have identified. |