# Create custom source elasticWorkplace

**URL:** <https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [October 15, 2020, 5:28pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247 "2020-10-15T17:28:01Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [October 26, 2020, 5:25pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/21 "2020-10-26T17:25:05Z")

</div>

> [@dadoonet](#):
>
> --debug --restart

This is the terminal

```auto
jorge@ubuntu:~/Escritorio/FSCRAWLER/FSCrawlerWorkplace/fscrawler-es7-2.7-SNAPSHOT/bin$ ./fscrawler /home/jorge/Escritorio/FSCRAWLER/fscrawler/prueba --debug --restart

^[[D18:15:26,782 INFO [f.p.e.c.f.c.BootstrapChecks] Memory [Free/Total=Percent]: HEAP [129.9mb/2.8gb=4.45%], RAM [4.1gb/11.7gb=35.27%], Swap [1.9gb/1.9gb=100.0%].
18:15:26,787 DEBUG [f.p.e.c.f.f.FsCrawlerUtil] Mapping [6/_settings.json] already exists
18:15:26,787 DEBUG [f.p.e.c.f.f.FsCrawlerUtil] Mapping [6/_settings_folder.json] already exists
18:15:26,787 DEBUG [f.p.e.c.f.f.FsCrawlerUtil] Mapping [7/_settings.json] already exists
18:15:26,788 DEBUG [f.p.e.c.f.f.FsCrawlerUtil] Mapping [7/_settings_folder.json] already exists
18:15:26,789 DEBUG [f.p.e.c.f.c.FsCrawlerCli] Cleaning existing status for job [/home/jorge/Escritorio/FSCRAWLER/fscrawler/prueba]...
18:15:26,789 DEBUG [f.p.e.c.f.c.FsCrawlerCli] Starting job [/home/jorge/Escritorio/FSCRAWLER/fscrawler/prueba]...

^[[D^[[D^[[D^[[D^[[D18:15:27,198 INFO [f.p.e.c.f.c.FsCrawlerCli] Workplace Search integration is an experimental feature. As is it is not fully implemented and settings might change in the future.
18:15:27,199 WARN [f.p.e.c.f.c.FsCrawlerCli] Workplace Search integration does not support yet watching a directory. It will be able to run only once and exit. We manually force from --loop -1 to --loop 1. If you want to remove this message next time, please start FSCrawler with --loop 1
18:15:27,201 DEBUG [f.p.e.c.f.c.ElasticsearchClientUtil] Trying to find a client version 7
18:15:27,208 DEBUG [f.p.e.c.f.c.WorkplaceSearchClientUtil] Trying to find a client version 7

18:15:27,219 INFO [f.p.e.c.f.FsCrawlerImpl] Starting FS crawler
^[[C18:15:28,025 INFO [f.p.e.c.f.c.v.ElasticsearchClientV7] Elasticsearch Client for version 7.x connected to a node running version 7.9.2
18:15:28,261 DEBUG [f.p.e.c.f.s.FsCrawlerManagementServiceElasticsearchImpl] Elasticsearch Management Service started
18:15:28,263 DEBUG [f.p.e.c.f.t.w.WPSearchClient] Starting the WPSearchClient
18:15:28,319 DEBUG [f.p.e.c.f.c.ElasticsearchClientUtil] Trying to find a client version 7
18:15:28,338 INFO [f.p.e.c.f.c.v.ElasticsearchClientV7] Elasticsearch Client for version 7.x connected to a node running version 7.9.2

18:15:28,344 DEBUG [f.p.e.c.f.s.FsCrawlerDocumentServiceWorkplaceSearchImpl] Workplace 
Search Document Service started

18:15:28,349 DEBUG [f.p.e.c.f.FsParserAbstract] creating fs crawler thread [prueba] for [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf] every [15m]
18:15:28,355 INFO [f.p.e.c.f.FsParserAbstract] FS crawler started for [prueba] for [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf] every [15m]
18:15:28,357 DEBUG [f.p.e.c.f.FsParserAbstract] Fs crawler thread [prueba] is now running. Run #1...
18:15:28,377 DEBUG [f.p.e.c.f.FsParserAbstract] indexing [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf] content
18:15:28,378 DEBUG [f.p.e.c.f.c.f.FileAbstractorFile] Listing local files from //home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf
18:15:28,382 DEBUG [f.p.e.c.f.c.f.FileAbstractorFile] Symlink on windows gives null for listFiles(). Skipping [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf]
18:15:28,389 DEBUG [f.p.e.c.f.c.f.FileAbstractorFile] 0 local files found
18:15:28,389 DEBUG [f.p.e.c.f.FsParserAbstract] Looking for removed files in [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf]...
18:15:28,449 DEBUG [f.p.e.c.f.FsParserAbstract] Looking for removed directories in [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf]...
18:15:28,461 INFO [f.p.e.c.f.FsParserAbstract] FS crawler is stopping after 1 run
18:15:28,558 DEBUG [f.p.e.c.f.FsCrawlerImpl] Closing FS crawler [prueba]
18:15:28,559 DEBUG [f.p.e.c.f.FsCrawlerImpl] FS crawler thread is now stopped
18:15:28,559 DEBUG [f.p.e.c.f.c.v.ElasticsearchClientV7] Closing Elasticsearch client manager
18:15:28,561 DEBUG [f.p.e.c.f.s.FsCrawlerManagementServiceElasticsearchImpl] Elasticsearch Management Service stopped
18:15:28,562 DEBUG [f.p.e.c.f.c.v.ElasticsearchClientV7] Closing Elasticsearch client manager
18:15:28,563 DEBUG [f.p.e.c.f.t.w.WPSearchClient] Closing the WPSearchClient
18:15:28,563 DEBUG [f.p.e.c.f.f.b.FsCrawlerBulkProcessor] Closing BulkProcessor
18:15:28,563 DEBUG [f.p.e.c.f.f.b.FsCrawlerBulkProcessor] BulkProcessor is now closed
18:15:28,563 DEBUG [f.p.e.c.f.s.FsCrawlerDocumentServiceWorkplaceSearchImpl] Workplace Search Document Service stopped
18:15:28,563 DEBUG [f.p.e.c.f.FsCrawlerImpl] ES Client Manager stopped
18:15:28,563 INFO [f.p.e.c.f.FsCrawlerImpl] FS crawler [prueba] stopped
18:15:28,569 DEBUG [f.p.e.c.f.FsCrawlerImpl] Closing FS crawler [prueba]
18:15:28,570 DEBUG [f.p.e.c.f.FsCrawlerImpl] FS crawler thread is now stopped
18:15:28,570 DEBUG [f.p.e.c.f.c.v.ElasticsearchClientV7] Closing Elasticsearch client manager
18:15:28,571 DEBUG [f.p.e.c.f.s.FsCrawlerManagementServiceElasticsearchImpl] Elasticsearch Management Service stopped
18:15:28,571 DEBUG [f.p.e.c.f.c.v.ElasticsearchClientV7] Closing Elasticsearch client manager
18:15:28,571 DEBUG [f.p.e.c.f.t.w.WPSearchClient] Closing the WPSearchClient

18:15:28,571 DEBUG [f.p.e.c.f.s.FsCrawlerDocumentServiceWorkplaceSearchImpl] Workplace Search Document Service stopped
18:15:28,571 DEBUG [f.p.e.c.f.FsCrawlerImpl] ES Client Manager stopped

```

I think that it is detecting workplace but it is doing nothing with it.  
The file that I used it was indexed before the test, so it is not going to index it again

This is my YAML

```auto
---
name: "prueba"
fs:
  url: "//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros"
  update_rate: "15m"
  excludes:
  - "*/~*"
  json_support: false
  filename_as_id: false
  add_filesize: true
  remove_deleted: true
  add_as_inner_object: false
  store_source: false
  index_content: true
  attributes_support: false
  raw_metadata: false
  xml_support: false
  index_folders: true
  lang_detect: false
  continue_on_error: false
  ocr:
    language: "eng"
    enabled: true
    pdf_strategy: "ocr_and_text"
  follow_symlinks: false
elasticsearch:
  username: "elastic"
  password: "L3pfydSSgRtZxfg5gWmX"
  nodes:
  - url: "http://127.0.0.1:9200"
  bulk_size: 100
  flush_interval: "5s"
  byte_size: "10mb"
workplace_search:
  access_token: "489e56799532ca13c49161f82093a41387fca45458617277705b5e8d0e250e77"
  key: "5f959a6e1d41c88afcdc280e"

```

I have just added the two lines in the end.

Thank you very much

---

<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:** [November 20, 2020, 3:11pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/22 "2020-11-20T15:11:03Z")

</div>

So this is interesting:

```auto
18:15:28,382 DEBUG [f.p.e.c.f.c.f.FileAbstractorFile] Symlink on windows gives null for listFiles(). Skipping [//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros//ejemplo_esp.pdf]
18:15:28,389 DEBUG [f.p.e.c.f.c.f.FileAbstractorFile] 0 local files found

```

Do you have a symbolic link to your files is it a copy of the files that you put in `//home//jorge//Escritorio//FSCRAWLER//fscrawler//ficheros`?

BTW I think that using:

```auto
fs:
  url: "/home/jorge/Escritorio/FSCRAWLER/fscrawler/ficheros"

```

Should work better. Could you try?

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [December 7, 2020, 5:44pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/23 "2020-12-07T17:44:58Z")

</div>

Hi,

Thank you for your answer.  
I am going to try it!!

Thank you very much

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [December 16, 2020, 2:31pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/24 "2020-12-16T14:31:16Z")

</div>

Hello,

Sorry, because have a lot of work these days  
I tried the fscrawler-es7-2.7-20201202.135628-144.zip version.

I have found that it works with ElasticSeacrh but not with Elastic Workplace Search.

I run the command

```auto
bin/fscrawler /home/jorge/Escritorio/Fscrawler/fuentes/prueba --restart--debug

```

It does not write anything, but the program index the different documents in ElasticSearch.

I've watched the ElasticOn program you broadcasted and I watched how you run your version, so you were able to index differents documents in Elastic Workplace Search. I think I have a problem with my configuration.

```auto
name: "prueba"
fs:
  url: "/home/jorge/Escritorio/Fscrawler/ficheros"
  update_rate: "15m"
  excludes:
  - "*/~*"
  json_support: false
  filename_as_id: false
  add_filesize: true
  remove_deleted: true
  add_as_inner_object: false
  store_source: false
  index_content: true
  attributes_support: false
  raw_metadata: false
  xml_support: false
  index_folders: true
  lang_detect: false
  continue_on_error: false
  ocr:
    language: "eng"
    enabled: true
    pdf_strategy: "ocr_and_text"
  follow_symlinks: false
elasticsearch:
  username: "elastic"
  password: "elastic"
  nodes:
  - url: "http://127.0.0.1:9200"
  bulk_size: 100
  flush_interval: "5s"
  byte_size: "10mb"
  
workplace_search:
  access_token: "46ebd34f99f08d0eefae3c95cf956c7be45b812c3e992fed1c01effbdcbbd498"
  key: "5fd8cd9e1d41c8910eeb63ee"
  server: "http://localhost:3002"

```

Thank you very much  
Regards

---

<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:** [December 16, 2020, 3:41pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/25 "2020-12-16T15:41:53Z")

</div>

> [@JorgeL-TI](#):
>
> I have found that it works with ElasticSeacrh but not with Elastic Workplace Search.

Yes. Not that master branch yet. See my previous comment:

> [@dadoonet](#):
>
> So this branch is not pushed to sonatype. I don't think it can work then with workplace search.
> 
> The last build I shared is available at [https://www.dropbox.com/s/07msuwno2gw3noq/fscrawler-es7-2.7-SNAPSHOT.zip?dl=0](https://www.dropbox.com/s/07msuwno2gw3noq/fscrawler-es7-2.7-SNAPSHOT.zip?dl=0)

> [@JorgeL-TI](#):
>
> I've watched the ElasticOn program you broadcasted and I watched how you run your version, so you were able to index differents documents in Elastic Workplace Search.

Great!

Have a look at this advent calendar post: [Dec 5th, 2020: [EN] Searching anything, anywhere with Workplace Search](https://discuss.elastic.co/t/dec-5th-2020-en-searching-anything-anywhere-with-workplace-search/254740)

It's a tutorial basically on how to run all that.

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [December 16, 2020, 9:21pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/26 "2020-12-16T21:21:19Z")

</div>

Hi,

I am very very happy because I was able to index some documents in Elastic WorkPlace Search.  
Thank you very much.

I want to add a keyword whose content is the index (for looking for the different documents)  
is it possible??

The other question I have is how can I find the index of a document out?

Thank you very very much

---

<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:** [December 17, 2020, 7:39am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/27 "2020-12-17T07:39:45Z")

</div>

> [@JorgeL-TI](#):
>
> I am very very happy because I was able to index some documents in Elastic WorkPlace Search.

🥳

> [@JorgeL-TI](#):
>
> I want to add a keyword whose content is the index (for looking for the different documents)  
> is it possible??

I'm afraid I don't understand that question.

> [@JorgeL-TI](#):
>
> The other question I have is how can I find the index of a document out?

What do you mean by "the index"? The index name used by elasticsearch behind the scene?

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [December 17, 2020, 9:08am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/28 "2020-12-17T09:08:22Z")

</div>

Hi,

In the ElasticOn you add two keywords queue1 queue2.  
How can I add this?

Sorry I mean the ID of the document in the elastic WorkPlaceSearch (no the index, I am sorry)  
For example, if I want to select a document in a Search I can use it.

Thank you very much

---

<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:** [December 17, 2020, 11:20am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/29 "2020-12-17T11:20:52Z")

</div>

> [@JorgeL-TI](#):
>
> In the ElasticOn you add two keywords queue1 queue2.

FSCrawler extracts automatically the metadata for you. The keyword metadata is sent to a `keyword` field. If your PDF or Office document has those keywords, they are extracted and sent to Workplace Search.

You don't add manually this information in Workplace Search or FSCrawler.

You can check if this is extracted by using the `--debug` or `--trace` mode of FSCrawler (I don't remember exactly which one produces that information. Debug should be enough). Then the logs should display the document meant to be sent to Workplace Search.

If it's generated, then you can hopefully search for that as @Sean_Story did during the demo.

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [December 21, 2020, 11:22am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/30 "2020-12-21T11:22:51Z")

</div>

Hello,  
I need to put a label on the document, so I need to change the metadata of a PDF, and I find it too difficult.  
I do not know if there is a possibility of using a pipeline or something similar.  
My first idea was to use the name of the folder, so if I can name it with the topic I can use it as a keyword.  
I need to add some extra information, but I do not know if it possible.

Thank you very much

---

<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:** [December 21, 2020, 5:33pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/31 "2020-12-21T17:33:09Z")

</div>

I believe that you would like something similar to [https://fscrawler.readthedocs.io/en/latest/admin/fs/rest.html#additional-tags](https://fscrawler.readthedocs.io/en/latest/admin/fs/rest.html#additional-tags)?

There could be some options with Elasticsearch (like extracting from the full path, the tag to add) but this is not possible with the Workplace Search output as it does not support using an ingest pipeline.

Would you like to open a feature request about this in FSCrawler project? May be we can implement something in the future?

For sure, I don't see any option in the short term about that.

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 15, 2021, 10:52pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/32 "2021-01-15T22:52:37Z")

</div>

Hello,  
I am looking for the way to add some external labels, but I cannot find the template in the label fscrawler (Because I am not looking in the correct place I think).

I want to add an external label, using it for filtering the data and I do not know if I can add it in the \_settings.yaml file.

I am trying to use this sentence ~/.fscrawler/datos/\_settings.json where datos is my index.

Could you explain to me how I access the template?

Thank you very much again

---

<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:** [January 16, 2021, 1:16am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/33 "2021-01-16T01:16:59Z")

</div>

There's not such an option in FSCrawler.  
But that's something which could be added. In the same way beats agents support adding a static pair of field:value to each document.

See for example:

> **[Add tags | Filebeat Reference \[7.10\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/add-tags.html)**

But note that this would be static.

Could you please open a feature request in FSCrawler project?

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 18, 2021, 10:41pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/34 "2021-01-18T22:41:08Z")

</div>

Hi,

I do not know if it a good option doing it with an elastic pipeline, and with a processor with a "set".  
What I do not know is how to use the pipeline in a whole index.

I want to modify all the docs adding the tag.

Thank you very much

---

<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:** [January 19, 2021, 4:33am UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/35 "2021-01-19T04:33:30Z")

</div>

Not sure how this relates to my own answer.

Is there a question?

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 19, 2021, 7:19pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/36 "2021-01-19T19:19:37Z")

</div>

the question is if I have to use file beat instead od a pipeline in elastic because I have not used it before.

Is there a possibility to add a tag using a pipeline in ElasticSearch?

I understand that you index the document and later on you add the different tags, doesn´t it?  
So, I want to configue a pipeline for a whole node and not just for a simple document

Thank you very much

---

<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:** [January 19, 2021, 8:10pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/37 "2021-01-19T20:10:00Z")

</div>

I just meant that I can add a similar feature that the one which exists in filebeat. Not that you have to use filebeat.

Just open a feature request and I'll see if I can work on that.

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 20, 2021, 3:21pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/38 "2021-01-20T15:21:14Z")

</div>

Ok Thank you very much

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 20, 2021, 5:24pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/39 "2021-01-20T17:24:03Z")

</div>

Hi,  
I have read the filebeat documentation.  
I do not understand how I can connect it with FSCRAWLER, because I have all my documents in ElasticSearch at this moment now, and I find that Filleabeat it is a "previous process" before indexing the data in ElasticSearch.  
I find that it was thought for logs, and I do not know if I can use for PDF.  
Of course, I have just started reading the documentation, and I am going to continue doing it

Thank you very much

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [January 24, 2021, 9:12pm UTC](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247/40 "2021-01-24T21:12:45Z")

</div>

Hello,

I think that I have figured out how to add a tag.

First, I create a new field with command \_mapping.  
Later on, I make an \_update, and I add a value to the field.

I did with KQL using the Kibana terminal.  
One implementation could be to configure the label to the whole index.

In the end, I am using just FSCrawler, ElasticSearch and Kibana.

Thank you very much for your help I am very grateful 😁😁😁

[Previous page](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247.md?page=1)

[Next page](https://discuss.elastic.co/t/create-custom-source-elasticworkplace/252247.md?page=3)
