Problem while plotting graph using Kibana - Due to field name with special character

Hi

I am exploring the Elastic cloud free trial tool and trying to generate some graphs out of my own sample logs. While I do so, i am facing issue while plotting the graphs. I have a field in my log with the name 'message-api-proxy' and while I keep that field in the x axis of my graph, I get to see three different columns 'message', 'api' & 'proxy' in the x-axis. I am not sure if Kibana could not read special characters or is it some other issue...

Regards
Prakash

I've moved this to the graph category, cause it's not really a cloud question :slight_smile:

I suspect it's a graph-as-in-bar-chart question so doesn't belong here either :slight_smile:
Not sure how to move this post to the elasticsearch category.

The problem seems to be the age-old one of doing aggregations on a tokenized field where a "not_analyzed" field should be used. See https://www.elastic.co/guide/en/elasticsearch/guide/2.x/aggregations-and-analysis.html

Doh, I guess my head is full of Graph, not graphs :stuck_out_tongue:
I'll move it to KB now.

1 Like