# Histogram (bars) with counts as bins

**URL:** https://discuss.elastic.co/t/histogram-bars-with-counts-as-bins/149405
**Category:** Kibana
**Created:** [September 21, 2018, 7:12am UTC](https://discuss.elastic.co/t/histogram-bars-with-counts-as-bins/149405 "2018-09-21T07:12:49Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [September 25, 2018, 4:33pm UTC](https://discuss.elastic.co/t/histogram-bars-with-counts-as-bins/149405/9 "2018-09-25T16:33:41Z")

</div>

I hope that works out for you!

Note that I haven't tried the solution of using Elasticsearch input plugin myself. I'll try it out hopefully soon when I have some time. I did some research though, and it looks like someone was able to get it to work and index their aggregation buckets as documents in a new index: [Aggregation Query possible input ES plugin](https://discuss.elastic.co/t/aggregation-query-possible-input-es-plugin/28159/2)

---

_[View the full topic](https://discuss.elastic.co/t/histogram-bars-with-counts-as-bins/149405)._
