Support Questions
Find answers, ask questions, and share your expertise

"Load Template Kibana Server" Failing

New Contributor

When trying to load template through the METRON Rest service actions the operation fails to complete (my elastic search template has already been completed):


/usr/lib/python2.7/site-packages/requests/ RequestsDependencyWarning: urllib3 (1.17) or chardet (3.0.4) doesn't match a supported version!
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/KIBANA/4.5.1/package/scripts/", line 128, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 280, in execute
  File "/usr/lib/python2.6/site-packages/ambari_commons/", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/KIBANA/4.5.1/package/scripts/", line 124, in load_template
  File "/var/lib/ambari-agent/cache/common-services/KIBANA/4.5.1/package/scripts/dashboard/", line 68, in put
  File "/usr/lib/python2.7/site-packages/elasticsearch/helpers/", line 190, in bulk
    for ok, item in streaming_bulk(client, actions, **kwargs):
  File "/usr/lib/python2.7/site-packages/elasticsearch/helpers/", line 162, in streaming_bulk
    for result in _process_bulk_chunk(client, bulk_actions, raise_on_exception, raise_on_error, **kwargs):
  File "/usr/lib/python2.7/site-packages/elasticsearch/helpers/", line 91, in _process_bulk_chunk
    raise e
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'', port=9200): Read timed out. (read timeout=10))

stdout: /var/lib/ambari-agent/data/output-221.txt:

2017-07-14 14:55:49,362 - Connecting to Elasticsearch on host:, port: 9200
2017-07-14 14:55:49,362 - Deleting .kibana index from Elasticsearch
2017-07-14 14:55:49,376 - Loading .kibana index from /var/lib/ambari-agent/cache/common-services/KIBANA/4.5.1/package/scripts/dashboard/dashboard.p

Command failed after 1 tries

Any help will be appreciated in completing the operation



New Contributor

I have been installing Metron for the first time and encountered the same issue.

I used the following guide

Metron 0.4.0 with HDP 2.5 bare-metal install on Centos 7 with MariaDB for Metron REST

I'm using the "Single node: 4 CPUs, 16GB RAM model" (tweaked to 8 cpus and 20GB ram initially) with the intent of increasing the number of nodes once I have a working model.

I have things running nicely and getting to the point of playing with Kibana.

Unfortunately, the template won't load and the Kibana Dashboard shows the menu but nothing else.

I would be grateful if anyone can point me in the right direction.

Hello i had the same issue this is due to running metron on 1 node,

elasticsearch tries to act like a cluster and write the data to multiple nodes (well we only one) and you get an error,

i fixed it by editing my /etc/elasticsearch/elasticsearch.yml file

index.number_of_replicas: 0

then restart elastic search and re import from ambari 🙂