# Change column names in search visualize on kibana dashboard

**URL:** <https://discuss.elastic.co/t/change-column-names-in-search-visualize-on-kibana-dashboard/307741>\
**Category:** Kibana\
**Created:** [June 21, 2022, 9:31am UTC](https://discuss.elastic.co/t/change-column-names-in-search-visualize-on-kibana-dashboard/307741 "2022-06-21T09:31:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mangeshs](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mangeshs](https://discuss.elastic.co/u/mangeshs)\
**Post date:** [June 21, 2022, 9:31am UTC](https://discuss.elastic.co/t/change-column-names-in-search-visualize-on-kibana-dashboard/307741/1 "2022-06-21T09:31:18Z")

</div>

I have create search from discover tab and added to dashboard. I have selected fields I want to show data. Fields names are as per logstash but I want to change those on dashboard. I have tried from saved objects but then values are not showing in search.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c0de474bd3f60d512ffeab1bc0ae62e9b7bddfd.png)

i want that column name as Query Class.  
I am using oss version 7.4 . First of all is it possible to change or I am expecting more from this version.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [June 30, 2022, 3:49pm UTC](https://discuss.elastic.co/t/change-column-names-in-search-visualize-on-kibana-dashboard/307741/2 "2022-06-30T15:49:41Z")

</div>

7.4 is indeed an old version but you can create an scripted field with the name you want and just output the original field so for the flights sample dataset you can create a new scripted field `Destination_Airport` with the script:

```auto
doc['DestAirportID'].value

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/3/6309cdc7fa5089d10c3f27e404dae96d808b9ef8.png)

And later in Discover you'll have this new field available

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/9/898c3942e9ddf40e2116ad546cc61dbb8efbe2d4.png)

This is much better addressed in recent versions of Kibana. So for 7.17 you can just change the label of a field

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/0/9042dd1003dc4957fd29a5caef4853c54478ff2f.png)

And this label will be honored in any Kibana application, not only Discover but also Maps, Lens, etc.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/7768ec25ab860324cc67f9744e33f8ea1cedfae2.png)

---

<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 28, 2022, 3:50pm UTC](https://discuss.elastic.co/t/change-column-names-in-search-visualize-on-kibana-dashboard/307741/3 "2022-07-28T15:50:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
