Code Monkey home page Code Monkey logo

docker-elastalert's Introduction

Hi there, I'm Guillaume ๐Ÿ‘‹

I'm currently responsible for technology at Peaks.


githubstats

docker-elastalert's People

Contributors

khezen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-elastalert's Issues

Image dosent work

docker-compose:

    elastalert:
        links:
            - elasticsearch
        image: khezen/elastalert
        environment:
            ELASTALERT_USER: elastalert
            ELASTALERT_PWD: changeme
            ELASTICSEARCH_HOST: elasticsearch
            ELASTICSEARCH_PORT: 9200
        volumes:
            - /home/data/elastalert:/etc/elastalert
            - /home/data/elastalert/rules:/usr/share/elastalert/rules
        networks:
            - elk
        restart: unless-stopped

Logs:

Stalling for Elasticsearch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   340  100   340    0     0   3497      0 --:--:-- --:--:-- --:--:--  3505
{ "name" : "fd235e7968f7", "cluster_name" : "elasticsearch-default", "cluster_uuid" : "Ll4tVosORX68CesSjkAYZw", "version" : { "number" : "5.3.2", "build_hash" : "3068195", "build_date" : "2017-04-24T16:15:59.481Z", "build_snapshot" : false, "lucene_version" : "6.4.2" }, "tagline" : "You Know, for Search" }
Traceback (most recent call last):
  File "/usr/local/bin/elastalert-create-index", line 6, in <module>
    from pkg_resources import load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3019, in <module>
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3003, in _call_aside
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 657, in _build_master
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 670, in _build_from_requirements
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 849, in resolve
pkg_resources.DistributionNotFound: The 'cryptography>=1.3.4' distribution was not found and is required by twilio
$@
Traceback (most recent call last):
  File "/elastalert/elastalert/elastalert.py", line 18, in <module>
    import kibana
  File "/elastalert/elastalert/kibana.py", line 4, in <module>
    from util import EAException
  File "/elastalert/elastalert/util.py", line 8, in <module>
    from auth import Auth
  File "/elastalert/elastalert/auth.py", line 4, in <module>
    from aws_requests_auth.aws_auth import AWSRequestsAuth
  File "build/bdist.linux-x86_64/egg/aws_requests_auth/aws_auth.py", line 13, in <module>
  File "/usr/local/lib/python2.7/dist-packages/requests-2.17.3-py2.7.egg/requests/__init__.py", line 61, in <module>
    raise RuntimeError('Requests dependency \'urllib3\' must be version >= 1.21.1, < 1.22!')
RuntimeError: Requests dependency 'urllib3' must be version >= 1.21.1, < 1.22!

Running the compose up I get stalled

logs:
elastalert_1 |
elasticsearch_1 | Stalling for Elasticsearch...
kibana_1 | Stalling for Elasticsearch...
elastalert_1 | Stalling for Elasticsearch...
elastalert_1 | % Total % Received % Xferd Average Speed Time Time Time Current
elastalert_1 | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to elasticsearch-0 port 9200: Connection refused
elastalert_1 |
elasticsearch_1 | Stalling for Elasticsearch...
kibana_1 | Stalling for Elasticsearch...
elastalert_1 | Stalling for Elasticsearch...
elastalert_1 | % Total % Received % Xferd Average Speed Time Time Time Current
elastalert_1 | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to elasticsearch-0 port 9200: Connection refused
elastalert_1 |
elasticsearch_1 | Stalling for Elasticsearch...
kibana_1 | Stalling for Elasticsearch...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.