Not able to send the data from one machine to primary machine

Hi Team,

I am trying to send the Event logs from Machine 1 to Machine 2 (Which is having the ELK stack on it) but not able to post the data even on changing the winlogbeat.yml (hosts: ["Machine2IP:9200"]) of 1st machine.

Please suggest if I am missing something.

ELK Version- 5

Regards,
Prateek

please suggest if I am missing something.

Regards,
Prateek

Please provide some logs showing an error and the configuration you are using.