I have a working ELK server on Ubuntu 16.04. I have another ubuntu 14.04 which is sending logs to my ELK successfully. Now, I want to add a windows client to my ELK which will send its events to ELK. To do so, I'm trying to install winlogbeat on my windows 10. I'm following the official documentation. From there, when I try to run
Invoke-WebRequest -Method Put -InFile winlogbeat.template.json -Uri http://My_ELK_server_IP:9200/_template/winlogbeat?pretty command in the powershell it shows me the following error:
`Invoke-WebRequest : Unable to connect to the remote server
At line:1 char:1
- Invoke-WebRequest -Method Put -InFile winlogbeat.template.json -Uri 1 ...
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : System.Net.WebException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand`
I would really appreciate if someone comes forward to help me.