# Custom labels on the Right side panel

**URL:** <https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288>\
**Category:** Kibana\
**Created:** [September 12, 2019, 4:32pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288 "2019-09-12T16:32:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eemtzc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eemtzc/32/54095_2.png) [@eemtzc](https://discuss.elastic.co/u/eemtzc)\
**Post date:** [September 12, 2019, 4:32pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/1 "2019-09-12T16:32:41Z")

</div>

Hello everyone,  
I am trying to custom the labels on the right-side panel in Kibana in order to have a custom name instead of the IP address, that way its easier to get an exact location instead of memorizing all the IP address.  
I attached a screenshot of what I mean, please help.!  
[Capture|151x260](https://discuss.elastic.co/uploads/short-url/mNFEvWwYY2gBg298t4NYKCi4j8f.png)

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [September 12, 2019, 6:27pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/2 "2019-09-12T18:27:43Z")

</div>

You can use the static lookup field formatter in the index pattern settings.

---

<div class="post-metadata">

**Author:** ![eemtzc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eemtzc/32/54095_2.png) [@eemtzc](https://discuss.elastic.co/u/eemtzc)\
**Post date:** [September 12, 2019, 8:30pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/3 "2019-09-12T20:30:14Z")

</div>

Sorry @lukas Im new at Elastic Stack not sure what you mean. Do you know of an article that I can read about it? or can you explain a little bit more?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [September 12, 2019, 9:04pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/4 "2019-09-12T21:04:55Z")

</div>

I just realized that you're dealing with an IP field so it won't actually work until [https://github.com/elastic/kibana/pull/45585](https://github.com/elastic/kibana/pull/45585) is merged.

If you go to Management, then Index Patterns, select your index pattern, then edit the field in question, you can select different "field formatters" to display your data in a specific way. One of those is the "static lookup", which will allow you to do what you've suggested (i.e. display specific IP addresses as custom names).

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

---

<div class="post-metadata">

**Author:** ![eemtzc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eemtzc/32/54095_2.png) [@eemtzc](https://discuss.elastic.co/u/eemtzc)\
**Post date:** [September 13, 2019, 5:54pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/5 "2019-09-13T17:54:24Z")

</div>

@lukas so with the IPs there is no static lookup option right now? is what I am understanding?, the .js code on the link you provide, where it goes?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [September 13, 2019, 8:29pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/6 "2019-09-13T20:29:21Z")

</div>

That's correct, the link I sent above fixes this so that there will be this option for IP addresses, but it won't be released until 7.5. Alternatively you could create a scripted field that returns the value as a string, and then you could use the static lookup.

---

<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:** [October 11, 2019, 8:29pm UTC](https://discuss.elastic.co/t/custom-labels-on-the-right-side-panel/199288/7 "2019-10-11T20:29:21Z")

</div>

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