[IntelMQ-users] Elasticsearch BOT error

Soni, Drupad drupadsoni at kpmg.com
Tue Mar 30 15:32:35 CEST 2021


Hi Sebastian,

I executed command as below as

1.  sudo pip3 install elasticsearch >=7.0.0,<8.0
     -bash: 8.0: No such file or directory

2.
root at new:/# pip3 install elasticsearch==7.12
Requirement already satisfied: elasticsearch==7.12 in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: urllib3<2,>=1.21.1 in /usr/lib/python3/dist-packages (from elasticsearch==7.12)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from elasticsearch==7.12)

Regards,
Drupad Soni
KPMG - Cyber Security
Embassy Golf Links Business Park, Pebble Beach, 'B' Block,
1st & 2nd Floor, Off Intermediate Ring Road
Mobile : +91 8140283894
Know more about our Cyber Security Services
https://home.kpmg.com/in/en/home/services/advisory/risk-consulting/it-advisory-services/cyber-security.html

From: Sebastian Wagner <wagner at cert.at>
Sent: Tuesday, March 30, 2021 6:36 PM
To: Soni, Drupad <drupadsoni at kpmg.com>; intelmq-users at lists.cert.at
Cc: Shah, Kunal <kunalshah3 at kpmg.com>; Gupta, Anshul <anshulgupta9 at kpmg.com>; Thakur, Richu <richuthakur at kpmg.com>
Subject: Re: [IntelMQ-users] Elasticsearch BOT error


Hi,

So your previously problems are solved?

The elasticsearch library is not installed. Run `sudo pip3 install elasticsearch>=7.0.0,<8.0.0`.

I just discovered that the shown error message is wrong. Not >=5.0.0,<6.0.0 is required, but >=7.0.0,<8.0.0. I already fixed that in the repository, will be part of the next maintenance release.

Sebastian
On 3/30/21 2:16 PM, Soni, Drupad via IntelMQ-users wrote:
Hi Team,

We have integrated output for elastic search which resulting into error as below. We have installed Intelmq: 2.3.1 and Elasticsearch, Kibana: 7.12. As per suggestion from your team latest version of Elasticsearch and kibana works perfectly well with Intelmq latest version.

Bot initialization failed.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/intelmq/lib/bot.py", line 164, in __init__
    self.init()
  File "/usr/lib/python3/dist-packages/intelmq/bots/outputs/elasticsearch/output.py", line 58, in init
    raise MissingDependencyError('elasticsearch', version='>=5.0.0,<6.0.0')
intelmq.lib.exceptions.MissingDependencyError: Could not load dependency 'elasticsearch', please install it with apt/yum/dnf/zypper (possibly named python3-elasticsearch) or pip3. Please note that this bot requires elasticsearch version >=5.0.0,<6.0.0!

Regards,
Drupad Soni
KPMG - Cyber Security
Embassy Golf Links Business Park, Pebble Beach, 'B' Block,
1st & 2nd Floor, Off Intermediate Ring Road
Mobile : +91 8140283894
Know more about our Cyber Security Services
https://home.kpmg.com/in/en/home/services/advisory/risk-consulting/it-advisory-services/cyber-security.html

________________________________
KPMG (in India) allows reasonable personal use of the e-mail system. Views and opinions expressed in these communications do not necessarily represent those of KPMG (in India).

*******************************************************************************************************
DISCLAIMER
The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized. If you have received this communication in error, please address with the subject heading "Received in error," send to postmaster1 at kpmg.com<mailto:postmaster1 at kpmg.com>, then delete the e-mail and destroy any copies of it. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing KPMG client engagement letter. Opinions, conclusions and other information in this e-mail and any attachments that do not relate to the official business of the firm are neither given nor endorsed by it.

KPMG cannot guarantee that e-mail communications are secure or error-free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses.

KPMG, an Indian partnership and a member firm of KPMG International Cooperative ("KPMG International"), a Swiss entity that serves as a coordinating entity for a network of independent firms operating under the KPMG name. KPMG International Cooperative ("KPMG International") provides no services to clients. Each member firm of KPMG International Cooperative ("KPMG International") is a legally distinct and separate entity and each describes itself as such.

"Notwithstanding anything inconsistent contained in the meeting invite to which this acceptance pertains, this acceptance is restricted solely to confirming my availability for the proposed call and should not be construed in any manner as acceptance of any other terms or conditions. Specifically, nothing contained herein may be construed as an acceptance (or deemed acceptance) of any request or notification for recording of the call, which can be done only if it is based on my explicit and written consent and subject to the terms and conditions on which such consent has been granted"
*******************************************************************************************************



--

// Sebastian Wagner <wagner at cert.at><mailto:wagner at cert.at> - T: +43 1 5056416 7201

// CERT Austria - https://www.cert.at/

// Eine Initiative der nic.at GmbH - https://www.nic.at/

// Firmenbuchnummer 172568b, LG Salzburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210330/9481c9bb/attachment.htm>


More information about the IntelMQ-users mailing list