How to import bundled index pattern and Kibana dashboard from beats 6.3.0 using basic auth?



I am using ELK GA 6.3.0. I am trying to import bundled dashboard and index pattern from Heartbeat. I have set basic auth in my elasticsearch, and I am trying out the below command;

./heartbeat setup --dashboards --template -E -E setup.kibana.username=admin -E setup.kibana.password=admin2

But I am getting the below error;

Exiting: Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch http://localhost:9200: Get http://localhost:9200: dial tcp [::1]:9200: getsockopt: connection refused]

My elasticsearch endpoint is

How to fix this?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.