hatamiarash7/netflow-exporter

By hatamiarash7

Updated about 1 year ago

Image

1.3K

NetFlow Exporter

It's a simple Prometheus exporter for NetFlow. Supported versions:

  • NetFlow v1
  • NetFlow v5
  • NetFlow v9

HowTo

You can use binary or Docker image.

docker run -d \
    -p 9438:9438 \
    hatamiarash7/netflow-exporter:v1.0.0

Or

./netflow-exporter

Configuration

There is multiple runtime flags to configure the exporter:

FlagDescriptionDefault
-log-levelLog levelinfo
-log-formatLog formattext
-listen-addressNetwork address to accept NetFlow packets:2055
-metric-addressNetwork address to expose metrics:9438
-metrics-pathPath under which to expose metrics/metrics
-includeInclude filter for NetFlow packetsCount$
-excludeExclude filter for NetFlow packetsTime
-sample-expireHow long a sample is valid for60s

Support 💛

Donate with BitcoinDonate with Ethereum

Contributing 🤝

Don't be shy and reach out to us if you want to contribute 😉

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Docker Pull Command

docker pull hatamiarash7/netflow-exporter