# URL formatting from Advanced Setting

**URL:** <https://discuss.elastic.co/t/url-formatting-from-advanced-setting/154164>\
**Category:** Kibana\
**Created:** [October 26, 2018, 9:46am UTC](https://discuss.elastic.co/t/url-formatting-from-advanced-setting/154164 "2018-10-26T09:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r00ting](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@r00ting](https://discuss.elastic.co/u/r00ting)\
**Post date:** [October 26, 2018, 9:46am UTC](https://discuss.elastic.co/t/url-formatting-from-advanced-setting/154164/1 "2018-10-26T09:46:31Z")

</div>

I have formatted a file path on a shared drive and it works fine within the browser as file:///path1/file.txt. I am trying to open the file that pointed to the contents that was indexed.

I have added this string within the mapping as text and tried to format the field as URL from kibana management -\> advanced settings

However when I click on the url, the formatting takes me to [http://myip:5601/app/file:///path1/file.txt](http://myip:5601/app/file:///path1/file.txt)

Is there a way to prevent Kibana from adding it's own url?

Thank you

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [October 26, 2018, 5:01pm UTC](https://discuss.elastic.co/t/url-formatting-from-advanced-setting/154164/2 "2018-10-26T17:01:47Z")

</div>

Hey @r00ting,

For security reasons, the `file://` protocol is not supported as a URL formatter. We only support `http://` and `https://` formats.

If you need support for this, you could consider writing a small plugin that supports this functionality for your installation, by registering a custom field formatter: [https://www.elastic.co/guide/en/kibana/current/development-uiexports.html](https://www.elastic.co/guide/en/kibana/current/development-uiexports.html)

---

<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:** [November 23, 2018, 5:01pm UTC](https://discuss.elastic.co/t/url-formatting-from-advanced-setting/154164/3 "2018-11-23T17:01:47Z")

</div>

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