I am trying to use packetbeat to view a pcap file in Kibana. I have converted my pcap file into json because I know that is the type of file that packetbeat can take in. I used the command:
C:\Program Files\Packetbeat>.\packetbeat.exe -e -I pcaptestfiles/pcaptest2.json -E packetbeat.interfaces.device=any
but when I run the command it soon says Exiting: sniffer loop failed: failed to start sniffer: unknown file format
Any ideas on how to solve this?