# How to open file from Kibana using path.real (or any other data) from Fscrawler

**URL:** <https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435>\
**Category:** Kibana\
**Created:** [August 23, 2019, 3:46am UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435 "2019-08-23T03:46:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ymorayko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ymorayko/32/50560_2.png) [@ymorayko](https://discuss.elastic.co/u/ymorayko)\
**Post date:** [August 23, 2019, 3:46am UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/1 "2019-08-23T03:46:12Z")

</div>

Hello everyone.  
I am new to Elasticsearch.  
I am indexing some pdf, word files using Fscrawler (which works great!) and using Kibana to filter, search. I am wandering if there is a way to open file from Kibana using the data (e. g. path.real)? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [August 23, 2019, 5:49pm UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/2 "2019-08-23T17:49:41Z")

</div>

Hello, you can try using a field formatter on your index pattern. The URL string field formatter will let you convert one of your fields into a clickable link that you can use in Discover, for example. Here are the docs: [https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html](https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html)

---

<div class="post-metadata">

**Author:** ![ymorayko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ymorayko/32/50560_2.png) [@ymorayko](https://discuss.elastic.co/u/ymorayko)\
**Post date:** [August 23, 2019, 6:10pm UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/3 "2019-08-23T18:10:22Z")

</div>

Thanks Jen. I will try. Files located on local drive did not open for me, as the link opens browser.

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [August 23, 2019, 6:20pm UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/4 "2019-08-23T18:20:20Z")

</div>

I looked at this further and remembered that there is a restriction on opening local files from `https`: [https://github.com/elastic/kibana/issues/16983](https://github.com/elastic/kibana/issues/16983)

The team is working on implementing a way to allow users to whitelist additional protocols. In the meantime, editing the relevant code directly may help: [link to whitelist](https://github.com/elastic/kibana/blob/3427a08108ee20fb0a37d4db1daa3ae478654305/src/legacy/core_plugins/kibana/common/field_formats/types/url.js#L24).

---

<div class="post-metadata">

**Author:** ![ymorayko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ymorayko/32/50560_2.png) [@ymorayko](https://discuss.elastic.co/u/ymorayko)\
**Post date:** [August 23, 2019, 6:25pm UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/5 "2019-08-23T18:25:21Z")

</div>

Thanks again Jen. I hope that feature will come soon.

---

<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 20, 2019, 6:25pm UTC](https://discuss.elastic.co/t/how-to-open-file-from-kibana-using-path-real-or-any-other-data-from-fscrawler/196435/6 "2019-09-20T18:25:25Z")

</div>

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