Why doesn’t Packetbeat see any packets when using mirror ports?

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Why doesn’t Packetbeat see any packets when using mirror ports?

edit

The interface needs to be set to promiscuous mode. Run the following command:

ip link set <device_name> promisc on

For example: ip link set enp5s0f1 promisc on