# How to create a custom field formatter plugin in 7.9.x?

**URL:** https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093
**Category:** Kibana
**Tags:** kibana-plugin-development
**Created:** [January 25, 2021, 11:40am UTC](https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093 "2021-01-25T11:40:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nrt.krishna](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nrt.krishna](https://discuss.elastic.co/u/nrt.krishna)
#### Post date: [January 25, 2021, 11:40am UTC](https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093/1 "2021-01-25T11:40:13Z")

</div>

Could somebody provide me an example how to create a plugin for custom field formatters?  
I had one for 6.x but since the architecture of the plugins changed in 7.9.x I am looking for some help to register my plugin where I have couple of custom field formatters. My previous version was like below:

```
 return new kibana.Plugin({
    name: 'my-field-formatters',
    require: ['kibana'],
    uiExports: {
      hacks: ["plugins/my-field-formatters/hack"],
      fieldFormats: ['plugins/my-field-formatters/formatter1']
})

```

Any example for 7.9.x would be great. Thanks in advance.

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [January 28, 2021, 6:29pm UTC](https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093/2 "2021-01-28T18:29:26Z")

</div>

@nrt.krishna Migrating legacy (pre-Kibana Platform) plugins can be tricky and we tried to cover the 'how-to' in the docs for integrating legacy (older) plugins to the Kibana Platform [here](https://www.elastic.co/guide/en/kibana/7.9/development-plugin-resources.html). The [extended guide](https://www.elastic.co/guide/en/kibana/7.9/development-plugin-resources.html#_kibana_platform_migration_guide) goes into much more detail.

---

<div class="post-metadata">

### Author: ![nrt.krishna](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nrt.krishna](https://discuss.elastic.co/u/nrt.krishna)
#### Post date: [January 31, 2021, 6:06am UTC](https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093/3 "2021-01-31T06:06:49Z")

</div>

Thanks for the links. But I am looking for the tricky part how I can register my custom field formatters plugin.

---

<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: [February 28, 2021, 6:07am UTC](https://discuss.elastic.co/t/how-to-create-a-custom-field-formatter-plugin-in-7-9-x/262093/4 "2021-02-28T06:07:40Z")

</div>

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