# The problem with the URL link. Click to open the .txt file. There is a 404 error

**URL:** <https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447>\
**Category:** Kibana\
**Created:** [April 10, 2020, 7:00am UTC](https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447 "2020-04-10T07:00:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![111207](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111207/32/53801_2.png) [@111207](https://discuss.elastic.co/u/111207)\
**Post date:** [April 10, 2020, 7:00am UTC](https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447/1 "2020-04-10T07:00:31Z")

</div>

I have fix the url template is /[http://192.168.1.145/esdata/{{value}](http://192.168.1.145/esdata/%7B%7Bvalue%7D)}  
my values is path of the file.txt  
I want to click to open that file

If we clicking to the URL have an error 404  
The Url auto insert "%2F" between directory and file name.

 ![link error](https://us1.discourse-cdn.com/elastic/original/3X/4/9/49b4fa5dae7b5654291f57c9bb1cae5f2cc20b30.jpeg) ![urltemplate](https://us1.discourse-cdn.com/elastic/original/3X/9/0/909a7ead949207be730df9bfc160480988f66422.jpeg)

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [April 10, 2020, 10:06am UTC](https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447/2 "2020-04-10T10:06:04Z")

</div>

The `value` parameter is a URI-escaped value. If you wish to use non-escaped value, use `rawValue` parameter.

---

<div class="post-metadata">

**Author:** ![111207](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111207/32/53801_2.png) [@111207](https://discuss.elastic.co/u/111207)\
**Post date:** [April 13, 2020, 6:22am UTC](https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447/3 "2020-04-13T06:22:17Z")

</div>

Hi majagrubic Maja

Thank for your reply

I'm add allowencodeslash in httpd.conf and change {{value}} to {{rawValue}} it solve

---

<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 11, 2020, 6:22am UTC](https://discuss.elastic.co/t/the-problem-with-the-url-link-click-to-open-the-txt-file-there-is-a-404-error/227447/4 "2020-05-11T06:22:19Z")

</div>

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