issue with pie chart field splitting on hyphen #84
I found when making a pie based on values in a field, the chart is split if the item contains a hyphen.
e.g. charting @field.hostname to count issues from 2 hosts www1-dev01 and ww2-live01 will actually create 4 pie slices as it delimits on the hyphen in the hostname.
You may wish to change your elasticsearch analyzer for that field. The pie chart uses the elasticsearch terms facet. When elasticsearch receives a field, it analyzes its contents and breaks it into tokens, a hyphen being one of the token separators. You may wish to set you @fields.hostname field to not_analyzed so that it isn't broken into tokens when it is indexed.
The mapping section of this template has some good examples of how to accomplish this: