Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jc2k/tshark-exporter

Quick and dirty prometheus exporter for packets matched by tshark
https://github.com/jc2k/tshark-exporter

prometheus-exporter prometheus-metrics tshark

Last synced: about 1 month ago
JSON representation

Quick and dirty prometheus exporter for packets matched by tshark

Awesome Lists containing this project

README

        

# tshark-exporter

Quick and dirty prometheus exporter for observing traffic in prometheus.

This is not meant to be ROFL-scale. This is not meant for putting *all* your traffic in Prometheus. The idea is you need to quickly deploy a sensor that matches known bad traffic so you can observe it over time. For example you, you want to target all traffic involving a particular ip:

```
docker run --rm -it -p 9431:9431 jc2k/tshark-exporter /usr/bin/tshark-exporter host 172.17.0.3
```

Or if you want to see TCP retransmissions:

```
docker run --rm -it -p 9431:9431 jc2k/tshark-exporter /usr/bin/tshark-exporter -Y tcp.analysis.retransmission
```