Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 563 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 563 Bytes

PeaFowl DPI Metrics for Prometheus

Sample NodeJS application exposing Peafowl DPI detections as Prometheus metrics endpoint

Configuration

Edit the details in config.js to configure the parameters

{
	"port": 3000,
	"host": "0.0.0.0",
	"endpoint": "/metrics",
	"interface":"eth0",
	"bpf":""
};

Example Output

# HELP dpi_gauge DPI Protocol Detections
# TYPE dpi_gauge gauge
dpi_gauge{L7="Unknown"} 9
dpi_gauge{L7="SIP"} 4
dpi_gauge{L7="SSH"} 18