Run packetbeat on ubuntu error

OS: Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic i686)
**cmd:**sudo ./packetbeat -e -c packetbeat.yml -d "publish"
./packetbeat: 1: ./packetbeat: Syntax error: word unexpected (expecting ")")

And what's the contents of packetbeat.yml? Make sure you format the configuration file as code when you post here.

This topic was automatically closed after 21 days. New replies are no longer allowed.