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

**URL:** <https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334>\
**Category:** Kibana\
**Created:** [May 18, 2016, 12:34pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334 "2016-05-18T12:34:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathna](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rathna](https://discuss.elastic.co/u/rathna)\
**Post date:** [May 18, 2016, 12:34pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334/1 "2016-05-18T12:34:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2016, 1:35pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334/2 "2016-05-18T13:35:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [May 18, 2016, 1:41pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334/3 "2016-05-18T13:41:22Z")

</div>

I suspect it's a _graph-as-in-bar-chart_ question so doesn't belong here either 🙂  
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](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/aggregations-and-analysis.html)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2016, 1:46pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334/4 "2016-05-18T13:46:14Z")

</div>

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

---

<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, 1:53pm UTC](https://discuss.elastic.co/t/problem-while-plotting-graph-using-kibana-due-to-field-name-with-special-character/50334/5 "2017-07-06T13:53:00Z")

</div>

Closed on July 6, 2017, 1:53pm UTC


