The Logs Explorer allows you to view the logs emitted by resources in the default workspace.
To view the logs:
- Navigate to Infrastructure > Logs. The Logs Explorer page is displayed.
- Refer to the table below to perform actions in the Log Explorer:
Callout | Description |
---|---|
1 | Click to access the Favorite and Quick Links> section. You can also access saved views under MY LOGS VIEWS page.![]() |
2 | Filter the logs using LOGQL attributes.![]() ![]() |
3 | Filter the logs for a specific period of time. You can filter the maximum of the last 7 days logs and they can be viewed on the dashboard.![]() |
4 | Displays the log results with time span and count based on the custom query selection.![]() |
5 | Select the individual logs to display the log details in the side panel.![]() |
6 | The fields column can be used to filter the logs by selected fields. The user can favorite commonly used fields, as well as view the percentage and raw count of logs using the fields.Displays the top 50 records based on the selected time range. To view additional records, click the Fetch More option.![]() |
Use the Live Tail feature
The Live Tail feature in the Logs Explorer allows you to monitor real-time logs as they are generated. The real-time monitoring provides instant visibility into system events and errors, eliminating the need to refresh or manually retrieve data.
![](https://s3.us-east-2.amazonaws.com/docsmedia.opsramp.com/screenshots/Log-Management/log-explorer-live-tail.png)
Access the Live Tail
- On the log explorer, click Live Tail.This will bring up a Logs screen displaying real-time logs.
- On the live tail page, click +ADD FILTER to filter the incoming data by selecting the attributes you want to filter by. This allows you to narrow down the logs to those most relevant to your needs.
![](https://s3.us-east-2.amazonaws.com/docsmedia.opsramp.com/screenshots/Log-Management/log-explorer-live-tail2.png)
- You can also stop or start the real-time logs monitoring.
If you are inactive for more than 5 minutes while using the Live Tail feature, a dialog box will appear stating that your session has expired. You will need to refresh the session to continue monitoring logs in real-time.
![](https://s3.us-east-2.amazonaws.com/docsmedia.opsramp.com/screenshots/Log-Management/log-explorer-live-tail3.png)
Fields
The Fields column in the Logs Explorer page allows users to efficiently filter log results based on commonly used fields. This feature provides insights into the available fields within the log data, displaying both the raw count and percentage of usage for each field.
Key Capabilities:
- Quick Filtering: Easily narrow down log results by selecting relevant fields.
- Usage Insights: View the frequency and percentage of each field to identify commonly occurring attributes.
To filter logs using the fields:
- Click a field to view the available values for that field.
- Click the three dots beside a value to access filtering options.
- Choose to filter logs by either:
- Matching values (show only logs containing the selected value).
- Excluding values (hide logs containing the selected value).
- The filter query will automatically update based on your selection.
- The below example shows the syntax for excluding a specific value.