# Kibana 3 histogram

**URL:** <https://discuss.elastic.co/t/kibana-3-histogram/21962>\
**Category:** Elasticsearch\
**Created:** [February 3, 2015, 4:31pm UTC](https://discuss.elastic.co/t/kibana-3-histogram/21962 "2015-02-03T16:31:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcello\_A](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcello_a/32/78018_2.png) [@Marcello\_A](https://discuss.elastic.co/u/Marcello_A)\
**Post date:** [February 3, 2015, 4:31pm UTC](https://discuss.elastic.co/t/kibana-3-histogram/21962/1 "2015-02-03T16:31:12Z")

</div>

Hi All,  
I'm trying to graph the usage of bandwidth fetched by Apache logs but  
Kibana histogram doesn't graph any data. Could someone help me to use  
correctly the histogram panel?

Thanks,  
Marcello

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f95108ff-2e8d-40c3-9008-f16ebf9f3c8e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f95108ff-2e8d-40c3-9008-f16ebf9f3c8e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Marcin\_izo](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@Marcin\_izo](https://discuss.elastic.co/u/Marcin_izo)\
**Post date:** [February 3, 2015, 5:54pm UTC](https://discuss.elastic.co/t/kibana-3-histogram/21962/2 "2015-02-03T17:54:02Z")

</div>

If you are using COMMONAPACHELOG or COMBINEDAPACHELOG in your logstash  
config and  
you've not changed default type for "bytes" it was probably imported into  
elasticsearch as string instead of int

Elasticsearch cannot aggregate this data in such form.

You'd can either modify "grok-patterns" file for your variable so bytes  
look like below or use mutate function in logstash to convert it to int

(?:%{NUMBER:bytes:int}|-)

regards  
m

On Tuesday, 3 February 2015 16:31:12 UTC, Marcello A wrote:

> Hi All,  
> I'm trying to graph the usage of bandwidth fetched by Apache logs but  
> Kibana histogram doesn't graph any data. Could someone help me to use  
> correctly the histogram panel?
> 
> Thanks,  
> Marcello

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f5cf79cc-0b90-4665-a90d-cc0ecb064963%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f5cf79cc-0b90-4665-a90d-cc0ecb064963%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Marcello\_A](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcello_a/32/78018_2.png) [@Marcello\_A](https://discuss.elastic.co/u/Marcello_A)\
**Post date:** [February 4, 2015, 10:08am UTC](https://discuss.elastic.co/t/kibana-3-histogram/21962/3 "2015-02-04T10:08:25Z")

</div>

Thanks for the tips 🙂

I prefer to change the configuration file because the file patternss  
grok-pattern can change with the RPM updates.

I added this part

```
mutate {
  convert => ["bytes", "integer"]
}

```

}

Marcello

Il giorno martedì 3 febbraio 2015 18:54:02 UTC+1, Marcin izo ha scritto:

> If you are using COMMONAPACHELOG or COMBINEDAPACHELOG in your logstash  
> config and  
> you've not changed default type for "bytes" it was probably imported into  
> elasticsearch as string instead of int
> 
> Elasticsearch cannot aggregate this data in such form.
> 
> You'd can either modify "grok-patterns" file for your variable so bytes  
> look like below or use mutate function in logstash to convert it to int
> 
> (?:%{NUMBER:bytes:int}|-)
> 
> regards  
> m
> 
> On Tuesday, 3 February 2015 16:31:12 UTC, Marcello A wrote:
> 
> > Hi All,  
> > I'm trying to graph the usage of bandwidth fetched by Apache logs but  
> > Kibana histogram doesn't graph any data. Could someone help me to use  
> > correctly the histogram panel?
> > 
> > Thanks,  
> > Marcello

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1e36bcaf-6e28-4e1e-a28f-1b7a191de90b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1e36bcaf-6e28-4e1e-a28f-1b7a191de90b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:35am UTC](https://discuss.elastic.co/t/kibana-3-histogram/21962/4 "2017-07-06T00:35:01Z")

</div>


