# URL path in Index pattern \> Edit path is not working for server file link

**URL:** <https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676>\
**Category:** Kibana\
**Created:** [July 17, 2020, 2:51pm UTC](https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676 "2020-07-17T14:51:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![esaravanan85](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@esaravanan85](https://discuss.elastic.co/u/esaravanan85)\
**Post date:** [July 17, 2020, 2:51pm UTC](https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676/1 "2020-07-17T14:51:52Z")

</div>

Hi,  
I tried to give a file path as url link in Index pattern \> Edit path field.  
The file located in a server location.  
In order to open a file in a browser, it should have a prefix "File://". I tried to give this but something is not correct.  
I tried two combination of prefix as mentioned in the pictures. You can see that when i give "[http://file](http://file)://" the generated link misses ":" and this leads to unresolved location.  
if i give only "file://" it adds local pc information as well which is not necessary.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/9/296a56e0e67d46b397a28409309bdf55a3fda612.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f809d271374d090af5f1a9752dd72eabef1fc68.png)

Please advise me on how to come out of this problem.  
Let me know if you need additional details.  
Kibana : 7.7.0

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 13, 2020, 8:30am UTC](https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676/2 "2020-08-13T08:30:37Z")

</div>

Hi @esaravanan85 sorry for the late reply, have you found a solution?  
I've quickly take a look at your problem and from a security stand point I don't think it's possible to have links that can open any file on your FS. Kibana cannot serve these file from the browser

---

<div class="post-metadata">

**Author:** ![esaravanan85](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@esaravanan85](https://discuss.elastic.co/u/esaravanan85)\
**Post date:** [August 13, 2020, 10:06am UTC](https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676/3 "2020-08-13T10:06:00Z")

</div>

Hi Mark,  
I found alternate local server path to link the files and that is working fine.  
But i'm still not convinced with the way kibana works for the scenario #1 i mentioned. Why it is ignoring the ":" as highlighted?  
Will it violate security settings ? Please comment.  
Thanks

---

<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 10, 2020, 10:06am UTC](https://discuss.elastic.co/t/url-path-in-index-pattern-edit-path-is-not-working-for-server-file-link/241676/4 "2020-09-10T10:06:01Z")

</div>

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