Visualisation based on multiple fields

{
	"Name1":{
		"total" : 500,
		"subname1":{
			"total":250,
			"cpu" : 100
		},
		"subname2" : {
			"total" : 250,
			"cpu" : 10000
		}
	},
	"Name2":{
		"total":25,
		"subname1" : {
			"total" : 25,
			"cpu" : 10
		},
		"subname2" : {
			"total" : 0,
			"cpu" : 0
		}

	}
}

We can assume that the fields Name1 and Name2 and subfields occur in almost all documents.
Now i want to create a bar chart corresponding to name1 and name2 on x-axis and Total on y-axis
How do i go about this?
PS: The number of fields(Name1, Name 2 etc) is large(30)

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