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+unsubscr...@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.