# How to use FSCrawler with Azure Blob Storage?

**URL:** <https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163>\
**Category:** Elasticsearch\
**Created:** [January 28, 2023, 3:26pm UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163 "2023-01-28T15:26:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbderrahimAl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abderrahimal/32/116178_2.png) [@AbderrahimAl](https://discuss.elastic.co/u/AbderrahimAl)\
**Post date:** [January 28, 2023, 3:26pm UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163/1 "2023-01-28T15:26:07Z")

</div>

I want to index the documents stored in Azure Blob Storage into Elasticsearch.  
Is it possible to use FSCrawler in this case by providing the blob container URL?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 29, 2023, 4:01am UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163/2 "2023-01-29T04:01:02Z")

</div>

Hi @AbderrahimAl  
Welcome to the community! Perhaps look at [this](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-azure-blob-storage.html)

---

<div class="post-metadata">

**Author:** ![AbderrahimAl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abderrahimal/32/116178_2.png) [@AbderrahimAl](https://discuss.elastic.co/u/AbderrahimAl)\
**Post date:** [January 29, 2023, 12:32pm UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163/3 "2023-01-29T12:32:20Z")

</div>

Hi @stephenb,  
Thank you for your response!

I am not familiar with Filebeat, but I think the `azure blob storage input` support only `JSON` and `NDJSON` format, please correct me if I am wrong.

In our case, we are interested more in other formats like pdf, docx, csv ...

Maybe the idea I will try next, is to use `Attachment processor` in elasticsearch and create a serverless function that takes blob storage as a trigger, encode the file in base64 and send it to elasticsearch ingest pipeline.

---

<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 29, 2023, 1:30pm UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163/4 "2023-01-29T13:30:49Z")

</div>

> Is it possible to use FSCrawler in this case by providing the blob container URL?

Not yet. But I'd love to support this at some point.

> <https://github.com/dadoonet/fscrawler/issues/1247>
>
> \*\*Is your feature request related to a problem? Please describe.\*\*
> 
> We want to… be able to send commands to FSCrawler which could fetch a file from any provider like the local FS where FSCrawler is running or S3...
> 
> \*\*Describe the solution you'd like\*\*
> 
> \`\`\`sh
> curl -XPOST http://127.0.0.1:8080/fscrawler/\_upload -d '{
> "type": "fs",
> "fs": {
> "url": "file://foo/bar.txt"
> }
> }
> \`\`\`
> 
> \`\`\`sh
> curl -XPOST http://127.0.0.1:8080/fscrawler/\_upload -d '{
> "type": "s3",
> "s3": {
> "url": "s3://foo/bar.txt"
> }
> }
> \`\`\`

---

<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:** [February 26, 2023, 1:30pm UTC](https://discuss.elastic.co/t/how-to-use-fscrawler-with-azure-blob-storage/324163/5 "2023-02-26T13:30:58Z")

</div>

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