# Config directory location for token filter helper files

**URL:** <https://discuss.elastic.co/t/config-directory-location-for-token-filter-helper-files/299078>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [March 8, 2022, 10:48am UTC](https://discuss.elastic.co/t/config-directory-location-for-token-filter-helper-files/299078 "2022-03-08T10:48:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabor\_Gergely](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabor_gergely/32/102396_2.png) [@Gabor\_Gergely](https://discuss.elastic.co/u/Gabor_Gergely)\
**Post date:** [March 8, 2022, 10:48am UTC](https://discuss.elastic.co/t/config-directory-location-for-token-filter-helper-files/299078/1 "2022-03-08T10:48:01Z")

</div>

I want to use token filters which require some helper files in the config directory (e.g. the hyphenation decompounder token filter, which requires an xml file in the _hyphenation\_patterns\_path_ parameter).  
The docs says: _This path must be absolute or relative to the config location_. ([Hyphenation decompounder token filter | Elasticsearch Guide [8.0] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-hyp-decomp-tokenfilter.html))

I build Elasticsearch from docker and host on Azure Kubernetes cluster.  
My question is how can I upload files to this config directory on Elasticsearch?  
Is there any API to upload a file, or where can I find this directory in Kubernetes?  
Thank you in advance.

---

<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:** [April 5, 2022, 10:48am UTC](https://discuss.elastic.co/t/config-directory-location-for-token-filter-helper-files/299078/2 "2022-04-05T10:48:14Z")

</div>

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