How to create value over time line chart in Kibana 4?

Artemis picture Artemis · May 8, 2015 · Viewed 17.7k times · Source

I'm facing a following problem. In Kibana 4 I've created a line chart based on my input from elasticeasrch but I can only display average, min, max instead of an actual value of the field per time, e.g. sent bytes. Most answears to that question on stackoverflow are about Kibana 3 (How to create value over time chart with Kibana 3?) and seem to include a Histogram on a X axis, yet I can't seem to find one which will enable me to apply them to Kibana 4. I was unable to find the histogram panel and once I click on the discover tab there is the constant Searching loading.

If I have the following fields in my _source: {"timestamp":"2015-06-02T10:16:44.0855","time":587,"threadName":"Thread Group 1-957","byte":1372,"status":"false","latence":306,"registerCall":"404"}

and I would like to have the number of bytes on the Y-axis and on the X-axis my timestamp.

Any help in the right direction will be appreciated :)

Answer

Limit picture Limit · Jun 1, 2015

To create a value over time line chart in Kibana, follow these steps: Go to visualize tab and select line chart In the X-axis, select X-axis, Aggregation as Date Histogram and then select your timestamp field as the date field.

Next for the Y-Axis, select Sum as the aggregation and then bytes as the field.