Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lmangani/dpi-metrics-prometheus
- Owner: lmangani
- License: mit
- Created: 2018-11-30T11:07:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-05T15:16:48.000Z (over 4 years ago)
- Last Synced: 2024-10-05T13:21:05.017Z (3 months ago)
- Topics: deep-packet-inspection, detection, dpi, dpi-metrics, fastify, nodejs, packet-capture, peafowl, peafowl-dpi, prometheus-metrics
- Language: JavaScript
- Size: 27.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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```