Is Kibana installed on a machine that has Internet access? Are you able to browse to the install URL using a web browser on that same machine? The error message leads me to think that either it can't access the Internet, or that there is a DNS resolution problem on that machine/network.
replace the path in the example above with the full path to your download location. Note there are three slashes there -- the first two denote the file:// prefix, and the third is the start of the file path
Glad that worked for you, I'm happy to help! Without getting too technical, the file:// prefix is the protocol of the URL. Normal websites use either http or https as their protocol. The file protocol tells Kibana that you are requesting a file that exists on the local machine, as opposed to a remote machine. A remote machine would need something like http or https to access the file.
The Kibana plugin installer can accept just a plugin name (e.g., ./bin/kibana-plugin install x-pack). When this happens, the installer will automatically try to download a plugin of that name from the Elastic servers. Since it has this capability, we need to be able to distinguish between a plugin name, and a URL. Having the protocol at the beginning helps Kibana make that distinction.
okay, Got it.
Also, i tried the same method to install the plugin for Logstash but this time they gave me another error. Upon some research I figured it demanded some dependencies which require internet. So i tried using "prepare-offline-plugin" command but it showed this error. Failed to open TCP connection to rubygems.org:443
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.