# Visualize by Column Names

**URL:** <https://discuss.elastic.co/t/visualize-by-column-names/45634>\
**Category:** Kibana\
**Created:** [March 28, 2016, 11:37pm UTC](https://discuss.elastic.co/t/visualize-by-column-names/45634 "2016-03-28T23:37:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [March 28, 2016, 11:37pm UTC](https://discuss.elastic.co/t/visualize-by-column-names/45634/1 "2016-03-28T23:37:38Z")

</div>

Hi Team,  
I created columns for my log file and i can see that in Discover but while preparing/visualizing bar chart i can't see "Company" as a field in X-Asix drop down list.

How can we see custom fields in the Dropdown list (X-Asix=\>Aggregation=\>Field)

\*Company is a column/field name and it's available in discover \_source

Regards...

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [March 28, 2016, 11:55pm UTC](https://discuss.elastic.co/t/visualize-by-column-names/45634/2 "2016-03-28T23:55:42Z")

</div>

This is what a row looks like, i guess even after logstash filter "Column", entire row inserted as message?

{  
"\_index": "filebeat-2016.03.28",  
"\_type": "mylog",  
"\_id": "AVO\_kIjNryvsg4OSa45X",  
"\_score": null,  
"\_source": {  
"message": "192.0.1.112|"Company-2"|SEA|[25/Mar/2016:13:00:01 -0700]|"GET Request\*\*\*"|400|9578|"-"|"Mozilla"|userid-2|count",  
"@version": "1",  
"@timestamp": "2016-03-28T23:30:30.987Z",  
"beat": {  
"hostname": "a.b.c.dl",  
"name": "a.b.c.d"  
},  
"count": 1,  
"fields": null,  
"input\_type": "log",  
"offset": 224,  
"source": "/data/custom/test.log.4",  
"tags": [  
"testlog-tag",  
"testlog-usrlog",  
"beats\_input\_codec\_plain\_applied"  
],  
"type": "mylog",  
"host": "a.b.c.d",  
"IP": "192.0.1.112",  
"Company": "Company-2",  
"Unit": "SEA",  
"Create-Date": "[25/Mar/2016:13:00:01 -0700]",  
"Request-URL": "GET Request\*\*\*",  
"Response-Code": "400",  
"Zip": 9578,  
"line": "-",  
"Browser": "Mozilla",  
"User": "userid-2",  
"Count": "count"  
},  
"fields": {  
"@timestamp": [  
1459207830987  
]  
},  
"highlight": {  
"source": [  
"@kibana-highlighted-field@/data/custom/test.log.4@/kibana-highlighted-field@"  
]  
},  
"sort": [  
1459207830987  
]  
}

Regards...

---

<div class="post-metadata">

**Author:** ![stormpython](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stormpython/32/7190_2.png) [@stormpython](https://discuss.elastic.co/u/stormpython)\
**Post date:** [March 29, 2016, 4:45pm UTC](https://discuss.elastic.co/t/visualize-by-column-names/45634/3 "2016-03-29T16:45:09Z")

</div>

What type of aggregation are you trying to do? Is the `Company` field indexed in Elasticsearch? Can you provide the mappings for this index or screenshots?

---

<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:57pm UTC](https://discuss.elastic.co/t/visualize-by-column-names/45634/4 "2017-07-06T13:57:35Z")

</div>


