Clustered bar charts


(Ganesh Shetty) #1

I am trying to create a clustered bar chart to analyse the memory usage as below but unable to build it -
image!

Here is the input file -
{"index":{"_index":"DD_9","_id":0}}
{"MEM": {"total":4056828, "used":3097068,"free":959760}, "CPU": {"CPU1":2.2, "CPU2":5.2},"time": "2018-02-14T28:25:43.511Z"}
{"index":{"_index":"DD_9","_id":1}}
{"MEM": {"total":4056828, "used":3097068,"free":959760}, "CPU": {"CPU1":3.2, "CPU2":4.2},"time": "2018-02-15T18:25:43.511Z"}

Can someone please help me here.
Thank you in advance.


(Lukas Olson) #2

Looks to me like you could create a bar chart with sum(total), sum(used), and sum(free) and split by a date histogram with a daily interval.


(Ganesh Shetty) #3

@lukas Thank you for helping me out here :slight_smile:


(Ganesh Shetty) #4

@lukas

I tried creating the bar chart sum(....Load_1) and sum(...Load_2) in Y axis and split by date histogram with second internal. But I couldn't get the clustered bar chart in Kibana .

Please let me know if I am missing something here.
Here is the chart and sample data

chart -

Sample data -
{"index":{"_id":"20180306233001"}}
{"hrProcessorLoad_1":8,"hrProcessorLoad_2":1,"device_id":140,"Date":"2018-03-06T23:30:01Z","customer_id":7}
{"index":{"_id":"20180307000001"}}
{"hrProcessorLoad_1":8,"hrProcessorLoad_2":1,"device_id":140,"Date":"2018-03-07T00:00:01Z","customer_id":7}


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.