If I had a section of my JSON input into ElasticSearch that looks like below, and I am able to access categories.category.keyword and categories.totaldur is it possible to create a visualization with the different categories and their totaldur?
"categories":[{"category":"TB","totaldur":55},{"category":"CPB","totaldur":568},{"category":"PP","totaldur":23}