Binary file indexing

Can we indexing the binary file through elastic which is not having any extension ?

You will need to convert it into JSON somehow. Elasticsearch does not index binary files.

Thank you Christian. i thought by using the ingest-attachment we can do that?

That is indeed used to extract data from binary files, but as I am not familiar with it I will leave that to someone else.

Yes. All what Christian said.

Thanks dadoonet. But how we can indexing the binary files means what content type i need to use,could you please pass to me if you have any sudo code which will read the binary files.

Did you read the documentation about the plugin?

Otherwise you can also give a try at FSCrawler project which exposes also a REST interface. It's like a proxy to elasticsearch for indexing binary files.

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