Sample Header Ad - 728x90

Capture network interface device name with Packetbeat

0 votes
1 answer
93 views
With Packetbeat on Linux, the packetbeat.interfaces.device: any configuration captures all messages sent or received by the server where Packetbeat is installed. I want to distinguish the messages captured by the interface over which they were exchanged e.g. which messages were exchanged over interface eth0 and which ones were exchanged over wlan0. From the logs, I couldn't find a field with this information. Is there a way to include the interface device name with Packetbeat logs using some configuration? If not, are there any alternative ways that I could go about capturing the same with the Packetbeat logs?
Asked by Tabish Mir (133 rep)
Jul 20, 2023, 10:07 PM
Last activity: Jul 20, 2023, 11:28 PM