How to build custom beat for windows OS using Linux machine

I am able to create custom beat as mentioned in documentation with my custom logic. I have tested same in linux RHEL 7 machine. I have used RHEL7 for build and test.

Now I need to create beat exe file for windows machine using my linux machine. How can I achieve this ? Kindly help me on this .

Try mage crossBuild. You'll need Docker installed as the build is run in a container.

Install Golang on your target windows OS. Use that to compile the custom beats you have written in your linux machine with "go build".