Skip to content

Peafowl DPI detections exposed at Prometheus metrics

License

Notifications You must be signed in to change notification settings

lmangani/dpi-metrics-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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