Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lmangani/dpi-metrics-prometheus

Peafowl DPI detections exposed at Prometheus metrics
https://github.com/lmangani/dpi-metrics-prometheus

deep-packet-inspection detection dpi dpi-metrics fastify nodejs packet-capture peafowl peafowl-dpi prometheus-metrics

Last synced: 19 days ago
JSON representation

Peafowl DPI detections exposed at Prometheus metrics

Awesome Lists containing this project

README

        

# PeaFowl DPI Metrics for Prometheus
Sample NodeJS application exposing [Peafowl DPI](http://github.com/libpeafowl) detections as Prometheus metrics endpoint

## Configuration
Edit the details in `config.js` to configure the parameters
```json
{
"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

```