Skip to content

Commit

Permalink
added view in icl
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelmace committed Nov 13, 2024
1 parent 2932cc5 commit b502df6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
Binary file added assets/icl-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 34 additions & 1 deletion part2-openshift_ibmcloud/ex-5-analyse-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,39 @@ The patient application that you previously deployed in the OpenShift cluster wi

![logs](../assets/icl-logging.png)

## Create custom view

You can use a view to see logs that match a specific filtering criteria. Views can be grouped into folders. View names must be unique within a folder.

In the left-hand navigation, click **Explore logs > Logs**. By default, the last view you had opened will be displayed. If no view was previously open, all views will be displayed.

1. Select the fields to be included in the view. By default, you can select Applications, Subsystems, and log Severities.

2. Select the application that matches the namespace allocated to you.

3. Select the subsystem **patient-ui**.

4. Select if you want your view to only include **Priority Logs** (those in the Priority Insights data pipeline or All Logs, that is, logs that are stored in your data bucket. Logs in the data bucket include logs collected through all the three data pipelines.

5. Add a Lucene query " in-memory data" to further filter your data.

6. Specify the time interval for the view, for example Last 5 minutes.

7. Save your view by clicking the three dots ...

8. Set the view name to <your-username>-first-view.

9. Check Save query and filters to save the query and filter values you configured.

10. Set the privacy of your view to Private.

> Private views can only be seen by you. You can set a view as Private or Shared.
11. Click Create.

![logs](../assets/icl-view.png)

## Resources

Find more about IBM Log Analysis with LogDNA in the [IBM Cloud documentation](https://cloud.ibm.com/docs/services/Log-Analysis-with-LogDNA/index.html#getting-started).
* Find more about IBM Cloud Logs in the [IBM Cloud documentation](https://cloud.ibm.com/docs/cloud-logs)
* [Managing the Logging agent for IBM Cloud Kubernetes Service clusters](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-std-cluster)

0 comments on commit b502df6

Please sign in to comment.