Packetbeat configtest error


(Jones Thomas) #1

packetbeat configtest error

$ sudo ./packetbeat -configtest -e
packetbeat2017/08/10 11:37:52.442668 beat.go:339: CRIT Exiting: error loading config file: stat packetbeat.yml: no such file or directory
Exiting: error loading config file: stat packetbeat.yml: no such file or directory

1- Im using packetbeat in Ubuntu 16.04 and packetbeat 5.5.0

  • Packetbeat home directory is in /usr/share/packetbeat/bin/
  • Packetbeat yml is in /etc/packetbeat/packetbeat.yml

2- What command should i use for configtest packetbeat ?


(Jones Thomas) #2

any idea?


(Jones Thomas) #3

i solved this issue, this is the command
sudo ./packetbeat -configtest -e -c /etc/packetbeat/packetbeat.yml


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.