# Adding a new field with phonetic(metaphone) value in elasticsearch index with logstash

**URL:** <https://discuss.elastic.co/t/adding-a-new-field-with-phonetic-metaphone-value-in-elasticsearch-index-with-logstash/302614>\
**Category:** Elasticsearch\
**Created:** [April 18, 2022, 10:44am UTC](https://discuss.elastic.co/t/adding-a-new-field-with-phonetic-metaphone-value-in-elasticsearch-index-with-logstash/302614 "2022-04-18T10:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saiyad\_arshad\_qadir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saiyad_arshad_qadir/32/104482_2.png) [@saiyad\_arshad\_qadir](https://discuss.elastic.co/u/saiyad_arshad_qadir)\
**Post date:** [April 18, 2022, 10:44am UTC](https://discuss.elastic.co/t/adding-a-new-field-with-phonetic-metaphone-value-in-elasticsearch-index-with-logstash/302614/1 "2022-04-18T10:44:00Z")

</div>

I am new to Elasticsearch and trying to index phonetic value(metaphone) into my Elasticsearch index using logstash.

index example:

{ "\_id" : "lRBYHIAB4PMEhuD9IXcF", "name":"KEVIN GENTLE" }

and when we index it, i am supposed to get { "\_id" : "lRBYHIAB4PMEhuD9IXcF", "name":"KEVIN GENTLE", "metaphone": "kfNjNtL" }

I came across Elasticsearch phonetic plugin but don't know how to use that plugin in logstash or is there any other way to add new field using logstash with the phonetic value of name.

---

<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:** [May 16, 2022, 10:44am UTC](https://discuss.elastic.co/t/adding-a-new-field-with-phonetic-metaphone-value-in-elasticsearch-index-with-logstash/302614/2 "2022-05-16T10:44:09Z")

</div>

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