In order to display CPU usage in Kibana, you’ll need to configure topbeat to collect that information. For a full run down, see this tutorial:
Following that tutorial will leave you with a dashboard displaying a lot of different metrics about your host system, including one with CPU information. Using that as an example, we should be able to create a new chart of CPU over the full day. Set the Y-Axis to contain the CPU usage information. For this example, we’ll use the percentage used system wide (
cpu.system_p) with “Max” as the aggregation type, but you can do individual cores or other more fine grained queries as well. On the X-axis, use “Date Histogram” for the aggregation,
@timestamp for the “Field” and “Auto” for the interval.
To set the time interval, click the clock icon in the upper right corner. You can select different intervals from this menu, including one day:
For more information on displaying data with Kibana, check out this tutorial:
The Kibana interface is divided into four sections: Discover, Visualize, Dashboard, and Settings. In this tutorial, we will go over the basics of each section, and demonstrate how each section can be used.