Now, let's take advantage of Sumo Logic's out-of-the-box content.
Using an out of the box application
- Click App Catalog in the left nav.
- Enter Host in the search field to show the app.
- Click Host Metrics to open its app page, and click Add to Library.
The dialog box that opens includes options to choose the folder where you install the app and to select a category for your data source.
Let's keep the folder as the default (Personal).
For the Host Metrics data source, select _sourceCategory, and use hostmetrics/<your_initials>.
Defining an appropriate source category will let you zero in on your data anytime by specifying the source in your query.
- Click Add to Library to confirm your selections and add the app to the library.
The library page reopens to show the dashboards included in the app.
Double-click any of the dashboards to open it and display the data.
You've now visualized host metrics data and have the Host Metrics app dashboards.
Review Host Metrics App content:
Open the Host Metrics - Overview Dashboard
Drill into the Overall Average CPU Load (1m, 5m, 15m) by clicking on icon shown below
Notice how you can have multiple queries in one same chart. You can toggle on/off each of the queries to add/remove its results from the chart.
You might have noticed that this metric interface is different from what you have seen previously.
Classic Metric interface vs New Metric interface.
If you open a metric query from an existing application, you might notice this interface:
This is our Classic metric interface
If you created a Metric from the +New button as shown below:
You will notice this type of interface:
This is our new Metric Interface. This interface has two query modes, basic and advanced, which will be discussed later in the next lab. This new interface will allow you to create visualizations easier and quicker and is consistent with our new dashboards for log searches. Additionally if you look at the selection bar on the far right as shown below:
Here is a listing of the various selection bar items:
|Display||Change the display properties of your visualization, ie Chart type, font color, etc|
|Display Alternatives||Allows you to override some properties to create some combo charts|
|Axis||Change the X and Y Axis properties|
|Legend||Change the Legend properties|
|JSON||Lets you see and modify the JSON properties that make up the visualizations|
If in the new metric interface, you need to switch back to the Classic metric interface, you can do that by clicking the more action button in the upper right corner and you can switch to the Classic Metric mode.
If you do switch to Classic metric mode, you can switch back to the New metric mode by clicking on the more action button, as shown below. Then select Switch to New Metrics.