# Ingest with FSCrawler and open the file from path.real value

**URL:** <https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227>\
**Category:** Elasticsearch\
**Created:** [May 26, 2020, 2:25am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227 "2020-05-26T02:25:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 26, 2020, 2:25am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/1 "2020-05-26T02:25:33Z")

</div>

Hi @dadoonet, i think i will direct the question to you since this is on FSCrawler.  
Am i able to set anything in the settings of FSCrawler to enable myself to be able to open the file that i ingested from the path.real or file.url variables?  
story point here is i want to be able to retrieve and open the original file after i ingest with FSCrawler.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 26, 2020, 7:25am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/2 "2020-05-26T07:25:35Z")

</div>

If the user can access the source file, yes.  
Otherwise you need to find a way to share the file with the user and use the virtual path to link to this file.

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 26, 2020, 7:37am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/3 "2020-05-26T07:37:18Z")

</div>

the current links are basically just plaintext, how do i go about enabling or setting up the access to open the file? 🙇‍♂️

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 26, 2020, 7:49am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/4 "2020-05-26T07:49:28Z")

</div>

Something like:

```
file://path/to/file
```

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 26, 2020, 8:32am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/5 "2020-05-26T08:32:31Z")

</div>

i am seeing that kind of line

> file.url file:///home/interns/Desktop/projects/codings/rsaf/docx2pdf2json2es/pdf/STA Engineering (F50) Audit Report\_Annex B.pdf  
> meta.author HShinHin

but it is just plaintext right now. what do i have to enable or code to get it clickable and open the specified file? it would not be user friendly to ask the user to copy and paste the link in the address bar 🤕

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 26, 2020, 9:50am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/6 "2020-05-26T09:50:23Z")

</div>

There's no web interface yet for FSCrawler (it will come in the future with the connection with workplace search).  
So I don't understand what your question is.

How do you display the results to the end user?

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 26, 2020, 9:51am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/7 "2020-05-26T09:51:43Z")

</div>

for example  
`file.url file:///home/interns/Desktop/projects/codings/rsaf/docx2pdf2json2es/pdf/STA Engineering (F50) Audit Report_Annex B.pdf`  
i want to be able to click this file path and open the file directly

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 26, 2020, 10:57am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/8 "2020-05-26T10:57:57Z")

</div>

Open in/from what? As I said there's no frontend in FSCrawler.

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 26, 2020, 11:56am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/9 "2020-05-26T11:56:18Z")

</div>

i understand that FSCrawler has no frontend. What i mean was from here

> ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/1/61e63e4dcbea20a930e2ee11b753f66be6ae0640.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 26, 2020, 4:32pm UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/10 "2020-05-26T16:32:11Z")

</div>

So you want to "modify" Kibana to make the link clickable because your front end is Kibana.

I know there is an option (may be [https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html](https://www.elastic.co/guide/en/kibana/current/field-formatters-string.html)) in Kibana that can do it.

Or may be this: [https://www.elastic.co/guide/en/kibana/current/scripted-fields.html](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html)

I can't recall it though so I'd suggest that you ask in #kibana about this? Which is basically: "how to make a URL field clickable?"

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [May 27, 2020, 2:23am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/11 "2020-05-27T02:23:58Z")

</div>

thanks, i will check them out. 🙇‍♂️

---

<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:** [June 24, 2020, 2:24am UTC](https://discuss.elastic.co/t/ingest-with-fscrawler-and-open-the-file-from-path-real-value/234227/12 "2020-06-24T02:24:01Z")

</div>

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