Loading

Start Packetbeat

Before starting Packetbeat:

To start Packetbeat, run:

sudo service packetbeat start
Note

If you use an init.d script to start Packetbeat, you can’t specify command line flags (see Command reference). To specify flags, start Packetbeat in the foreground.

Also see Packetbeat and systemd.

sudo service packetbeat start
Note

If you use an init.d script to start Packetbeat, you can’t specify command line flags (see Command reference). To specify flags, start Packetbeat in the foreground.

Also see Packetbeat and systemd.

sudo chown root packetbeat.yml 1
sudo ./packetbeat -e
  1. You’ll be running Packetbeat as root, so you need to change ownership of the configuration file, or run Packetbeat with --strict.perms=false specified. See Config File Ownership and Permissions.
sudo chown root packetbeat.yml 1
sudo ./packetbeat -e
  1. You’ll be running Packetbeat as root, so you need to change ownership of the configuration file, or run Packetbeat with --strict.perms=false specified. See Config File Ownership and Permissions.
PS C:\Program Files\packetbeat> Start-Service packetbeat

By default, Windows log files are stored in C:\ProgramData\packetbeat\Logs.