# Configuring Phonetic Analyzer via Logstash

**URL:** <https://discuss.elastic.co/t/configuring-phonetic-analyzer-via-logstash/179591>\
**Category:** Logstash\
**Created:** [May 3, 2019, 9:43pm UTC](https://discuss.elastic.co/t/configuring-phonetic-analyzer-via-logstash/179591 "2019-05-03T21:43:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apremgeorge](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@apremgeorge](https://discuss.elastic.co/u/apremgeorge)\
**Post date:** [May 3, 2019, 9:43pm UTC](https://discuss.elastic.co/t/configuring-phonetic-analyzer-via-logstash/179591/1 "2019-05-03T21:43:56Z")

</div>

I have the below logstash config file(windows) to index a csv, i have the address field and i want to use the phonetic matching in address field, may i know how to configure phonetic analyzer and define phonetic field via the config file

input {  
file {  
path =\> "C:/graph\_demo\_data\_3.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "NUL"  
}  
}

filter {  
csv {  
separator =\> ","  
skip\_header =\> true  
columns =\> [Mobile\_Phone,Address,Company\_Postcode,Company\_Phone,Age\_Of\_Applicant,AppKey]  
}  
mutate { convert =\> ["Amount\_Limit","float"] }

}  
output {  
elasticsearch {  
hosts =\> "localhost:9200"  
index =\> "graph\_demo\_3"  
document\_type =\> "graph\_demo\_doc\_3"  
}  
stdout {}  
}

Thanks

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 3, 2019, 10:06pm UTC](https://discuss.elastic.co/t/configuring-phonetic-analyzer-via-logstash/179591/2 "2019-05-03T22:06:04Z")

</div>

The [phonetic analyzer](https://www.elastic.co/guide/en/elasticsearch/plugins/7.0/analysis-phonetic.html) is an elasticsearch plugin. Nothing to do with logstash. There is an example of how to configure your index to use that analyzer in the documentation. If you have additional questions you should ask them in the elasticsearch forum.

---

<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 31, 2019, 10:06pm UTC](https://discuss.elastic.co/t/configuring-phonetic-analyzer-via-logstash/179591/3 "2019-05-31T22:06:22Z")

</div>

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