we would like to setup a document synchronization from a file directory and from a e-mail imap folder to elasticsearch.
For the e-mails we are interested in the attachments. Here the imap input plugin looks promising.
For the files (e.g. PDFs) we would like to setup a directory that gets scanned and whenever a new file is inserted the whole file content (e.g. as a byte array) gets transferred.
Here the file input plugin looks like a candidate but maybe not. From the documentation it is not clear to me if we could configure it for the purpose I described.
Any opinions/suggestions? Maybe there are other plugins or totally different solutions out there, we are not aware of.
Thanks in advance,