Kibana init: Trend chart notes


(Denis) #1

I have some data gson { "device": { "id": "8984023984", "model": "", "name": "Robot32" }, "frequencyIncrement": 13.671875, "frequencyStart": 0, "magnitudes": [ 0, 123, 130, 144, 168, 197, 236, 298, 424, 718, 2084, 2529, 808, 489, 353, 277, 235, 190, 171, 153, 139, 128, 117, 110, 103, 97, 90, 89, 80, 77, 72, 67, 78, 67, 65, 62, 56, 62, 49, 52, 52, 48, 42, 50, 48, 47, 46, 48, 45, 42, 40, 40, 39, 40, 39, 37, 38, 34, 35, 44, 35, 35, 36, 55, 26, 27, 28, 28, 30, 27, 28, 28, 27, 29, 28, 25, 25, 26, 30, 23, 16, 22, 23, 21, 46, 46, 30, 26, 23, 22, 23, 25, 24, 20, 21, 54, 24, 22, 20, 22, 26, 29, 19, 21, 20, 18, 20, 19, 19, 19, 16, 20, 19, 18, 18, 18, 9, 18, 19, 19, 17, 14, 13, 16, 15, 14, 27, 38, 23, 20, 18, 17, 19, 15, 16, 15, 16, 19, 21, 17, 17, 21, 21, 27, 16, 17, 17, 36, 57, 18, 15, 15, 17, 15, 15, 15, 17, 21, 49, 20, 15, 12, 12, 13, 10, 11, 14, 16, 54, 95, 32, 21, 17, 18, 17, 21, 13, 15, 34, 85, 55, 22, 16, 17, 15, 21, 15, 19, 16, 45, 66, 25, 17, 14, 11, 13, 11, 13, 13, 17, 30, 25, 11, 13, 15, 13, 14, 10, 10, 10, 22, 35, 23, 14, 14, 14, 14, 25, 15, 14, 16, 26, 9, 13, 10, 10, 12, 11, 12, 12, 14, 41, 78, 43, 21, 15, 14, 15, 11, 12, 12, 24, 49, 68, 19, 22, 23, 18, 25, 13, 17, 15, 24, 26, 22, 14 ], "timestamp": 1466403572}

A “magnitude “ value correspond to a number (that is a frequency). The corresponding number starts at 0 (“frequencyStart“) and increments with a value of 13.671875 ("frequencyIncrement“).

(For the frequency 150 show the actual amplitudes over time for the last 14 days? Can you also show a trend line for the values? (see example figure B))

My customer want I to create Line Charts graph, but do not understand how to create it !!!!!!!!!!!!!!!!!!!!!!!!!!!! kibana 4.5.3


(Jon Budzenski) #2

I'm not sure I understand exactly - not seeing figure B. Kibana can do a date histogram, with chunks of time on the x axis and a metric aggregation(max,min, average, etc) value on the y axis for example. What issues are you running into? Scripted metric aggregations aren't supported yet in kibana so computations on the magnitude field will likely need to be done at indexing time.


(Denis) #3

http://imglink.ru/show-image.php?id=33959305b883b3626dcefff34a63a685


(system) #4