Public | Automated Build

Last pushed: 14 days ago
Short Description
Elastalert image used for the JHipster Console
Full Description

JHipster Console


This is the JHipster Console, based on the ELK Stack. It provides a default configuration to get started with logs and metrics monitoring with ELK as well as some nice dashboards.

Please refer to the JHipster Monitoring Documentation for instructions on how to set up the JHipster Console.

Quick Start

Start everything by running docker-compose up -d in the bootstrap/ directory, then access Kibana at localhost:5601 and Zipkin at localhost:9411.

Contributing

PRs are welcome ! When contributing, make sure you force build and restart everything with docker-compose down && docker-compose build --no-cache && docker-compose up.

Images hosted on Docker Hub

  • jhipster/jhipster-console
  • jhipster/jhipster-elasticsearch
  • jhipster/jhipster-logstash
  • jhipster/jhipster-zipkin
  • jhipster/jhipster-alerter
  • jhipster/jhipster-curator
  • jhipster/jhipster-import-dashboards
Docker Pull Command
Owner
jhipster
Source Repository

Comments (1)
lubo08
8 months ago

Can't start it up.

{
"name" : "4oDcgOL",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "r3pcLU2kRrK0MicB1SXMgQ",
"version" : {
"number" : "5.0.0",
"build_hash" : "253032b",
"build_date" : "2016-10-26T05:11:34.737Z",
"build_snapshot" : false,
"lucene_version" : "6.2.0"
},
"tagline" : "You Know, for Search"
}
Starting Alerting
Container timezone not modified
Creating Elastalert index in Elasticsearch...
Traceback (most recent call last):
File "/usr/local/bin/elastalert-create-index", line 11, in <module>
load_entry_point('elastalert', 'console_scripts', 'elastalert-create-index')()
File "/opt/elastalert/elastalert/create_index.py", line 107, in main
if es_index.exists(index):
File "build/bdist.linux-x86_64/egg/elasticsearch/client/utils.py", line 71, in _wrapped
File "build/bdist.linux-x86_64/egg/elasticsearch/client/indices.py", line 224, in exists
File "build/bdist.linux-x86_64/egg/elasticsearch/transport.py", line 327, in perform_request
File "build/bdist.linux-x86_64/egg/elasticsearch/connection/http_requests.py", line 80, in perform_request
UnboundLocalError: local variable 'response' referenced before assignment
INFO:elastalert:Starting up
ERROR:root:Traceback (most recent call last):
File "/opt/elastalert/elastalert/elastalert.py", line 781, in run_all_rules
num_matches = self.run_rule(rule, endtime, self.starttime)
File "/opt/elastalert/elastalert/elastalert.py", line 546, in run_rule
self.set_starttime(rule, endtime)
File "/opt/elastalert/elastalert/elastalert.py", line 494, in set_starttime
last_run_end = self.get_starttime(rule)
File "/opt/elastalert/elastalert/elastalert.py", line 475, in get_starttime
size=1, body=query, _source_include=['endtime', 'rule_name'])
File "build/bdist.linux-x86_64/egg/elasticsearch/client/utils.py", line 71, in _wrapped
return func(args, params=params, *kwargs)
File "build/bdist.linux-x86_64/egg/elasticsearch/client/init.py", line 569, in search
doc_type, '_search'), params=params, body=body)
File "build/bdist.linux-x86_64/egg/elasticsearch/transport.py", line 327, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
File "build/bdist.linux-x86_64/egg/elasticsearch/connection/http_requests.py", line 80, in perform_request
self.log_request_fail(method, url, response.request.path_url, body, time.time() - start, exception=e)
UnboundLocalError: local variable 'response' referenced before assignment
ERROR:root:Uncaught exception running rule log_error: local variable 'response' referenced before assignment
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/elastalert/elastalert/elastalert.py", line 1426, in <module>
sys.exit(main(sys.argv[1:]))
File "/opt/elastalert/elastalert/elastalert.py", line 1423, in main
client.start()
File "/opt/elastalert/elastalert/elastalert.py", line 744, in start
self.run_all_rules()
File "/opt/elastalert/elastalert/elastalert.py", line 785, in run_all_rules
self.handle_uncaught_exception(e, rule)
File "/opt/elastalert/elastalert/elastalert.py", line 1310, in handle_uncaught_exception
self.handle_error('Uncaught exception running rule %s: %s' % (rule['name'], exception), {'rule': rule['name']})
File "/opt/elastalert/elastalert/elastalert.py", line 1305, in handle_error
self.writeback('elastalert_error', body)
File "/opt/elastalert/elastalert/elastalert.py", line 1051, in writeback
doc_type=doc_type, body=body)
File "build/bdist.linux-x86_64/egg/elasticsearch/client/utils.py", line 71, in _wrapped
TypeError: create() takes at least 5 arguments (5 given)