Is it possible to save a full file in Elasticsearch?

Is it possible to save a full file in Elasticsearch??

Please provide a bit more detail...

Yes, I have a lot of files from different places but I am not interested in parsing each line of each file. I was interested in save the whole file in a attribute of Elasticsearch and after save different metadatas from this file n another attributes.

It would be possible?

Thanks

Could somebody tell me something about??

Thanks

A common use case for Elasticsearch is document search, so it is certainly possible to ingest complete files and search the text within. What are you looking to do with your data once it is indexed?

I'm unsure about the question as well. May be https://github.com/dadoonet/fscrawler is what you are looking for?

1 Like

Yes it is something like this.

To index a lot of files from a machine and after to do searches over elasticsearch in the words from all files.

I will try to use you code.

Thanks for your help.