[IntelMQ-users] Intelmq | ELK

Bernhard Reiter bernhard at intevation.de
Thu Apr 15 11:10:10 CEST 2021


Hi Drupad,

Am Donnerstag, 15. April 2021, 08:44:39 CEST schrieb Drupad Soni:
>  I have installed
> pip3 install elasticsearch==7.12

>     raise MissingDependencyError('elasticsearch', version='>=5.0.0,<6.0.0')

There have been improvements in this code for the next version,
but the real reason for an import problem maybe hidden.

The general approach I think an administrator/devs would do is
 * check the python import lines in question. You can use this in
   python3 command line as brief test.

> from elasticsearch import Elasticsearch
is the line from
https://github.com/certtools/intelmq/blob/develop/intelmq/bots/outputs/
elasticsearch/output.py#L17

If you enter it in a python3 prompt, you'll see what the problem with the 
import really is.

Example:
python3
[..]
>>> from elasticsearch import Elasticsearch
[..]
ModuleNotFoundError: No module named 'elasticsearch'

Your reason probably is different.

Regards,
Bernhard
-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210415/16b586a9/attachment.sig>


More information about the IntelMQ-users mailing list