Is it possible to save a full file in Elasticsearch?


(Juan Díaz González) #1

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


(Christian Dahlqvist) #2

Please provide a bit more detail...


(Juan Díaz González) #3

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


(Juan Díaz González) #4

Could somebody tell me something about??

Thanks


(Christian Dahlqvist) #5

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?


(David Pilato) #6

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


(Juan Díaz González) #7

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.


(system) #8