I'm trying to install Metricbeat on Raspbian to track my Pi-hole. I followed the install instructions for linux on elastics website (https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-configuration.html). All I changed in the conf is the elastic and kibana ip address in the metricbeat.yaml files. When I try to start Metricbeat I get
root@raspberrypi:/opt/metricbeat-7.6.1-linux-x86_64# sudo ./metricbeat -e
./metricbeat: 1: ./metricbeat: Syntax error: "(" unexpected
Any ideas?