Kibana 3 histogram

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f95108ff-2e8d-40c3-9008-f16ebf9f3c8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f5cf79cc-0b90-4665-a90d-cc0ecb064963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the tips :slight_smile:

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1e36bcaf-6e28-4e1e-a28f-1b7a191de90b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.