Hi Team,
I have installed ELK stack on windows server 2016 with metricbeats.
Now I want to install watcher for configuring some alert on a specific scenario.
I have gone through with watcher link. I came to know that i need to install license and watcher plugin so i download license-2.4.6.zip and watcher-2.4.6.zip from this link.
I tried to execute a command to install the elastic-search plugin as below.
bin\elasticsearch-plugin install file://C:/Dhiral/license-2.4.6.zip
Here, I didn't get success to install plugin successfully instead I got some unknownHostException.
Error Trace :-
C:\Dhiral\elasticsearch-6.5.1\elasticsearch-6.5.1>bin\elasticsearch-plugin insta
ll file://C:/Dhiral/license-2.4.6.zip
-> Downloading file://C:/Dhiral/license-2.4.6.zip
Exception in thread "main" java.net.UnknownHostException: C
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.Socket.connect(Socket.java:589)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:962)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:924)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1019)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1005)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
va:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
tion.java:400)
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPlu
ginCommand.java:380)
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPlugin
Command.java:278)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
ommand.java:229)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
ommand.java:216)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
Can anyone help in that or suggest right way to install this two plugin(s).