# Translate Filter Error, Not Getting file Path?

**URL:** <https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [December 13, 2021, 6:07am UTC](https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590 "2021-12-13T06:07:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [December 13, 2021, 6:07am UTC](https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590/1 "2021-12-13T06:07:33Z")

</div>

I am working on 7.14.1 Elasticsearch version. I am running it using docker-compose file. I have different files in json format. I am trying to read all those files in logstash config file but I am getting error. I think it is not reading file path.  
My Translate filter.

```auto
translate {
        field => "[NotifyEventAdvanceRequestModel][Transaction][TransactionType]"
        destination => "[Trans: Type]"
        dictionary_path => "/home/caaryadmin/docker-elk/padam/TransactionType.json"
    }

```

I am getting this error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/5756281b865e673752c2330ac531309abc1dbc13.png)

After error logstash crash and automatically down.

---

<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:** [December 13, 2021, 5:08pm UTC](https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590/2 "2021-12-13T17:08:35Z")

</div>

It says the file does not exist or cannot be opened. That could be that you have not mounted the volume in the docker image or it could be a file permissions problem.

---

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [December 14, 2021, 6:25am UTC](https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590/3 "2021-12-14T06:25:08Z")

</div>

Yes Badger You are right, I have not mounted the file in docker-compose. After mounted the file, it's working fine.

---

<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 11, 2022, 6:25am UTC](https://discuss.elastic.co/t/translate-filter-error-not-getting-file-path/291590/4 "2022-01-11T06:25:39Z")

</div>

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