We have an index already running on a separate machine and want to connect to from our local machine or possibly another server. We have tested connecting to the index via Postman and after being prompted to type in the username and password we were able to see the data in the index. However, we want to do something similar in Kibana but don't know where to attempt to connect to that index since it is on a separate machine. On top of that, if we can do such a thing how can we pass the authentication to this external index so that we can keep it open to make visualizations in the kibana dashboard.
Hi there, you should be able to configure the config/kibana.yml file in your Kibana directory to connect to your ES instance. The configuration will look like this:
# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://localhost:9200"
# If your Elasticsearch is protected with basic authentication, these settings provide
# the username and password that the Kibana server uses to perform maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
elasticsearch.username: "user"
elasticsearch.password: "pass"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.