Best way to put pcap traffic into logstash/Elasticsearch

(Nuggetinu) #1


I am interested in creating a dashboard which will visualize network traffic collected from access points. I currently have tcpdump running on an access point and outputting to a pcap file. My intention is to pcap data to ELK.

Can someone provide me some guides on how to do this in seamless manner? Eventually I would eliminate Kibana and use my dasboard implemented through unity3d.

Appreciate suggestions on how to successfully put the pcap data into ELK. I currently heard about packetbeat.

Thanks in advance.

HELP: Injecting PCAP to ELK
(Mark Walkom) #2

Is useful?

(Nuggetinu) #3

Blockquote Is useful?

Hi Mark,

Thanks for the feedback.

I'm worried about packetbeat for 2 things:

  1. Packetbeat does correlation of the requests with the responses, and inserts a single document per request-response pair in ES. Although, this is generally good as it's a lot more convenient to have them correlated once in ES, this can be problematic if I want to test the setup using offline pcap files.

  2. While I can use Packetbeat to read the packets from a pcap file, its implementation assumes that the packets are read in real time, which can cause some issues with timeout transactions (the time is measured from the current time, not from the initial packet's time).

Thus, I am looking for possible alternatives.


(system) #4

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