Managing default views
In IBM® Cloud Logs, each user can select a different custom view as their instance's default view when they launch Explorer.
If you work with multiple IBM Cloud Logs instances, you can set a default view in each instance separately.
- A user can set any public view or private view that the user creates as a default view.
- The user can change the default view at any time by opening a different view and checking Set as default view while saving.
Creating a custom view as default
To configure a custom view, you can define a query, filter by selected fields, or both.
Complete the following steps to create a custom view as a default view:
-
Click the Explore logs icon
. Then, click Logs.
-
Select the fields to be included in the view. By default you can select Applications, Subsystems, and log Severities.
-
(Optional) Add additional filters click + Add Filter and select and configure additional field and filter values.
-
Select if you want to view only include Priority Logs (those in the Priority insights pipeline) or All Logs, that is, logs that are stored in IBM Cloud Object Storage. Logs in IBM Cloud Object Storage includes logs collected through all the data pipelines.
-
(Optional) Add a Lucene or DataPrime query to further filter your data.
-
Specify the time interval for the view, for example Last 2 Days.
-
Configure the columns by clicking the Column icon and selecting the fields you want to display.
-
Save your view by clicking the three dots ...
-
Enter a name for your view.
-
If you want to save the query and filter values you configured, check Save query and filters.
-
Check Set as default view.
This sets the view as the default for you as the user. It does not set the view as the default view for the entire account.
The default view opens automatically each time you navigate to Explore logs.
You can change your default view at any time by opening a different view and checking Set as default view while saving.
-
Set the privacy of your view to Public.
The column configuration, selected view mode (compact or standard), and the existing layout are saved as part of the view. These settings are restored automatically the next time a view is opened.
-
Changing the default view
Complete the following steps to change a default view:
-
Click the Explore logs icon
. Then, click Logs.
-
Open any view you want to set as default.
-
Click the three dots ... next to the view name.
-
Click Set as default view.
-
Click Save.