# Use of URLs in Kibana

**URL:** <https://discuss.elastic.co/t/use-of-urls-in-kibana/194374>\
**Category:** Kibana\
**Created:** [August 8, 2019, 8:34am UTC](https://discuss.elastic.co/t/use-of-urls-in-kibana/194374 "2019-08-08T08:34:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_k/32/51925_2.png) [@Chris\_K](https://discuss.elastic.co/u/Chris_K)\
**Post date:** [August 8, 2019, 8:34am UTC](https://discuss.elastic.co/t/use-of-urls-in-kibana/194374/1 "2019-08-08T08:34:09Z")

</div>

Hello,

I´m using Kibana in combination of ES for a Managed File System and I created recently a Retention Handler that cleans up my File System from old files.

For each deleted File I created a simple document in ES. That looks like this:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/e/ae36266a52d370d56f3ca30257486060b6266a20.png)

Important is here the Field \_source.File.ResultFilename because I want to create, using script field function of the index pattern, a URL that gives the user a direct link to the File System for Debugging.

So I created my own scripted field that looks like:

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

I want to create a URL like file:///{path}. But Kibana behaves differently: If I use the discover function of Kibana and click on the label "Goto Dir".

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0ed7e7fe46ea77d8e1fbd982d058019f675d7ef0.png)

It opens a new tab and goes to the link "[http://localhost:5601/app/file:///{path}](http://localhost:5601/app/file:///%7Bpath%7D)". I want to remove by default "[http://localhost:5601/app/](http://localhost:5601/app/)" from the URL. Please can you help me to solve this problem and sorry for my bad English.

Chris

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [August 8, 2019, 9:13am UTC](https://discuss.elastic.co/t/use-of-urls-in-kibana/194374/2 "2019-08-08T09:13:19Z")

</div>

Hi @Chris_K, thanks for your question.

Currently only http and https links are allowed within the url formatter.  
Linking to files on the local system might be problematic from a security perspective, but you should definitely head over to our [Github respository](https://github.com/elastic/kibana) and open a feature request there.

---

<div class="post-metadata">

**Author:** ![Chris\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_k/32/51925_2.png) [@Chris\_K](https://discuss.elastic.co/u/Chris_K)\
**Post date:** [August 8, 2019, 10:24am UTC](https://discuss.elastic.co/t/use-of-urls-in-kibana/194374/3 "2019-08-08T10:24:07Z")

</div>

Thank you for the quick response. I will create a workaround with a other Application because the security of your Database is most important 😃

---

<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:** [September 5, 2019, 10:24am UTC](https://discuss.elastic.co/t/use-of-urls-in-kibana/194374/4 "2019-09-05T10:24:13Z")

</div>

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