A prerequisite to having the PCAP service is having the PCAP Topology up and running.  Code for the PCAP service can be found here.  

The service consists of a Kibana PCAP Panel that is backed by a restful API.  A Sample screenshot of the Kibana/Banana PCAP panel is provided below.

 

The PCAP Kibana/Banana Panel takes the following variables:

 

VariableDescriptionFormatRequired
ip_src_addrSource ipxxx.xxx.xxx.xxxYES
ip_dst_addrDest ipxxx.xxx.xxx.xxxYES
ip_src_portSource portintNO
ip_dst_portDest portintNO
protocolProtocol (as string)StringNO
timeframeTime - x minutesepochYES

 

Once the query is entered in the PCAP panel the panel forwards to a REST PCAP service.  The REST PCAP service fires up an MR job, which goes through the PCAP files stored on HDFS by the PCAP Topology, filters them based on the Kibana/Banana Panel Query, compiles a new PCAP from the PCAP query, and delivers it back up to the Kibana/Banana panel via the REST PCAP Service.  

  • No labels