diff --git a/nupic/research/support/elastic_logger.py b/nupic/research/support/elastic_logger.py index d6743a7f0..4b4c215f6 100644 --- a/nupic/research/support/elastic_logger.py +++ b/nupic/research/support/elastic_logger.py @@ -47,7 +47,7 @@ def create_elastic_client(**kwargs): :return: Configured :class:`elasticsearch.Elasticsearch` client :rtype: :class:`Elasticsearch` """ - hosts = os.environ.get("ELASTIC_HOST") + hosts = os.environ.get("ELASTIC_HOSTS") hosts = None if hosts is None else hosts.split(",") elasticsearch_args = { "cloud_id": os.environ.get("ELASTIC_CLOUD_ID"),