By Tigra16v
Hi I’m using Kibana 4 and I need to create a chart that can tell me the amount of CPU usage over a whole day, could you please tell me in detail what parameters should I put on the X and on the Y ? Thanks Regards Davide
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.