# Parameters for Field Format plugin

**URL:** https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771
**Category:** Kibana
**Created:** [December 13, 2019, 9:41am UTC](https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771 "2019-12-13T09:41:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Elaak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elaak/32/55014_2.png) [@Elaak](https://discuss.elastic.co/u/Elaak)
#### Post date: [December 13, 2019, 9:41am UTC](https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771/1 "2019-12-13T09:41:50Z")

</div>

Using ES+Kibana: v 7.4.2

I have a field formatter for strings, and I want the user to be able to adjust some settings when they select the FieldFormat under "Index Patterns". An example I have seen for the Field Format "Truncated String"

 ![fieldformatparameterization](https://us1.discourse-cdn.com/elastic/original/3X/7/4/7415934cfc1eb059fe9ee4eb2d5d9868d182f3d3.png)

Can anyone tell me what I need to do to allow input of parameters into my field formatter? I can of course do it using `kibana.yml` but it is neither user friendly not dynamic.

As an alternative/extra question, I was trying to find the code for the "Truncated String" Field formatter to use as an example, but was unable to find it. Does anyone know where it is located?

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [December 16, 2019, 5:48pm UTC](https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771/2 "2019-12-16T17:48:53Z")

</div>

> Can anyone tell me what I need to do to allow input of parameters into my field formatter? I can of course do it using `kibana.yml` but it is neither user friendly not dynamic.

Unfortunately, this is not supported at this point. Feel free to open a [feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) for this to be added.

> As an alternative/extra question, I was trying to find the code for the "Truncated String" Field formatter to use as an example, but was unable to find it. Does anyone know where it is located?

> <https://github.com/elastic/kibana/blob/3a915b22a04dc85e257a1cc8802178dc541d83ca/src/plugins/data/common/field_formats/converters/truncate.ts#L29>

---

<div class="post-metadata">

### Author: ![Elaak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elaak/32/55014_2.png) [@Elaak](https://discuss.elastic.co/u/Elaak)
#### Post date: [December 17, 2019, 8:18am UTC](https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771/3 "2019-12-17T08:18:39Z")

</div>

That is unfortunate. I will stick to the configuration for now but will request the feature for the future.

---

<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: [January 14, 2020, 8:18am UTC](https://discuss.elastic.co/t/parameters-for-field-format-plugin/211771/4 "2020-01-14T08:18:42Z")

</div>

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