Run packetbeat on ubuntu error

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