# \[Solved\] How to query in kibana for a column name having space in it

**URL:** https://discuss.elastic.co/t/solved-how-to-query-in-kibana-for-a-column-name-having-space-in-it/36618
**Category:** Kibana
**Created:** [December 8, 2015, 10:23am UTC](https://discuss.elastic.co/t/solved-how-to-query-in-kibana-for-a-column-name-having-space-in-it/36618 "2015-12-08T10:23:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ppatnaik](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@ppatnaik](https://discuss.elastic.co/u/ppatnaik)
#### Post date: [December 8, 2015, 10:23am UTC](https://discuss.elastic.co/t/solved-how-to-query-in-kibana-for-a-column-name-having-space-in-it/36618/1 "2015-12-08T10:23:58Z")

</div>

Hello all,

In my documents I have a column with space in it.  
e.g. current city.

How can I create a query in kibana discover tab which will access this field in my data.  
I tried the following and nothing seems to be working

1. current city:Bangalore
2. 
3. [current city:Bangalore]
4. "current city":Bangalore
5. 'current city':Bangalore

Please direct me towards the correct way to do this.

---

<div class="post-metadata">

### Author: ![ppatnaik](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@ppatnaik](https://discuss.elastic.co/u/ppatnaik)
#### Post date: [December 8, 2015, 10:53am UTC](https://discuss.elastic.co/t/solved-how-to-query-in-kibana-for-a-column-name-having-space-in-it/36618/2 "2015-12-08T10:53:52Z")

</div>

It seems like we will have to escape space with a backslash for usage.  
This is wierd as business users may feel bit uncomfortable with the same.

## soln

current\ city:Bangalore

this did the trick.  
Please suggest if there is a better way of doing so,

---

<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, 2:07pm UTC](https://discuss.elastic.co/t/solved-how-to-query-in-kibana-for-a-column-name-having-space-in-it/36618/3 "2017-07-06T14:07:11Z")

</div>


