Introduction to Observability: Logging

I'm doing the Introduction to Observability: Logging training and when trying to setup filebeat I got the below error:

elastic@ip-172-31-13-13:~/filebeat-7.8.0-darwin-x86_64$ ./filebeat modules enable nginx
-bash: ./filebeat: cannot execute binary file: Exec format error

duplicate of Introduction to Observability: Logging