IBM Cloud Docs
Viewing log data by time interval

Viewing log data by time interval

The log data displayed by IBM Cloud Logs can be filtered by a specific time interval.

Limiting by time interval can be used in conjunction with filtering, searching using Lucene or DataPrime.

Accessing Explore

You can query logs from the Explore screen:

  1. Launch the IBM Cloud Logs UI.

  2. Click the Explore logs icon Explore logs icon > Logs.

  3. (Optional) If you want to explore archived data from the Analyze and alert or Store and search pipelines, click Archive. To switch back to data currently maintained in the Priority insights pipeline click Priority Logs.

Specifying a time interval

By default the last 15 minutes of data is displayed. You can change the time interval of log data displayed.

  1. Click the time interval selection. If unchanged, this will read Last 15 minutes. If changed, the selected interval will be displayed.

  2. Select the interval to be included:

    Quick
    Lets you quickly select a time interval. For example, all log data for Today or in the Last 6 hours. For Quick intervals, you can specify how often the query is automatically refreshed.
    Relative
    Lets you specify a time interval relative to the current time looking back the configured seconds, minutes, hours or days for the configured seconds, minutes, hours or days. For example, 6 days ago until 3 days ago.
    Custom
    Lets you specify a specific start and end date and time to be displayed.
    Tags
    Lets you filter logs by tags.

Resetting filters and search queries

You can clear all filters and queries by clicking Reset.

Saving a view

Once you have your view with the log records you want to see by using filters or searches, you can save the view for future use.

To save a view:

  1. Click Unsaved View.

  2. Enter the name for your view.

  3. Optionally indicate if you want to save the query and filters as part of the view.

  4. Optionally indicate if you want the view set as your default view when opening IBM Cloud Logs

  5. Select if you want the view to be private to you or shared with other users.

  6. Click SAVE to save your view.