Skip to main content
Sumo Logic

Navigate your Kubernetes environment

Learn how to use the Explore Kubernetes Views to quickly navigate and analyze your Kubernetes environment.

This page introduces you to Explore and shows you how to use its intuitive framework to quickly navigate through your Kubernetes environment. As you navigate, data is automatically shown in the dashboard window on the right. Metric and log data are viewable on the same dashboard in one seamless view.

Opening Explore

Explore is an out-of-the-box Sumo Logic navigation tool that provides an intuitive visual representation of your Kubernetes environment.

To open Explore, do the following:

  1. Log in to Sumo Logic and click + New on the top menu bar.
  2. From the drop-down menu, choose Explore

Explore_Open.png

The Explore navigation panel appears on the left with a collapsed view of your Kubernetes stack.

EX_Open_Collapsed_View.png

  • If this is your first time using Explore, the window at the right will be empty.
  • If you have already installed a Sumo Logic App for Kubernetes, a dashboard showing data for the selected deployment appears on the right.
  1. Now you can explore your Kubernetes environment.

Exploring Kubernetes Views

You can filter by the Kubernetes components in your environment to focus your search on nodes, deployments, services, or namespaces. Then, drill down into the component data and analyze the results in the dashboard window on the right. Focusing on real-time hierarchical views makes it's easier to identify a problem and locate the root cause. 

  • Kubernetes Node View—Analyze the infrastructure topology of private, public cloud, or bare metal resources.
  • Kubernetes Deployment View—Monitor deployment performance and manage necessary changes.
  • Kubernetes Service View—Monitor and improve the user experience.
  • Kubernetes Namespace View—Track environments with a lot of users that are spread across multiple teams or projects.

To explore Kubernetes components in your environment, do the following:

  1. Click + New on the top menu bar, then from the drop-down menu choose Explore
  2. Click the arrow in the Explore By field and select a view option. 

EX_K8s_View_menu.png

  1. Click the expand arrows in the list to navigate the contents of a component, as shown in the following examples. 

Kubernetets Node View

EX_K8s_Node-View_exp.png

Kubernetes Deployment View

EX_K8s_Deployment-View_exp.png

Kubernetes Service View

EX_K8s_Service-View_exp.png

Kubernetes Namespace View

EX_K8s_Namespace-View_exp.png

  1. Data for your selected component is displayed in an appropriate dashboard in the window on the right (if you have a Kubernetes app installed). You can select another Dashboard from the drop-down menu.

EX_Dashboard_select_menu.png

Navigating a Kubernetes View 

Explore provides a framework in which you can view the contents of your Kubernetes environment and easily navigate the hierarchy. The navigation panel on the left shows a hierarchy of the contents in a selected component View. 

To analyze a Kubernetes view, do the following:

  1. At the top of the navigation panel, click Explore By and select a Kubernetes View. The view acts as a filter to allow you to focus on a selected component of you Kubernetes environment. In our example, we selected the Kubernetes Service View.
  2. Click an arrow to the left of a component name to drill down into the contents. 

EX_Service_View_cluster-expand.png

  1. In the window on the right, select a Dashboard from the drop-down list. In our example, we selected Kubernetes - API Server. Panels showing data for the API Server appeared in the Dashboard window.

EX_K8s_API_Server_dashboard.png

The names of resources need to be unique within a namespace, but not across namespaces. It is useful for when you need to divide cluster resources between multiple users.

  1. Drill-down further into the hierarchy. In our example, we selected the sumologic namespace. 

EX_nav_sumologic_namespace.png

  1. To change the time interval for a dashboard panel, select the time interval in the upper right of the panel and make a selection from the drop-down list. In our example, we selected Last 60 Minutes.

EX_Panel_change-time-interval.png

  1. Hover your cursor over a graph for more detailed information. We hovered our cursor over a pod to investigate a CPU problem, and viewed the pop-up with detailed information. We made a note of the pod name so we could investigate the issue further.

EX_Pod_investigate_CPU.png

  1. To analyze logs for the troubled component, we clicked the pod and selected Error Logs from the drop-down list. 

EX_Pod_CPU_Error-Logs.png

We are taken to a new Drill Down From Dashboard search window that shows a list of error messages for the pod. 

  1. For tips on how to troubleshoot a problem further, see Troubleshoot with Explore.
  2. Select a another Kubernetes View, then in the Explore navigation pane expand a Kubernetes component and select a Dashboard from the drop-down list. In our example we chose the Kubernetes Namespace View, then selected the prod-loggen namespace and Kubernetes - Namespace Overview Dashboard. 

EX_Namespace-View_prod-loggen_namespace.png

You can see how easy it is to navigate the depth and breadth of your Kubernetes environment to pinpoint trouble areas, then drill down and identify the root cause. Once you discover the root cause, you can take proactive steps to fix the problem.