netflow-exporter

command module
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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:

Flag Description Default
-log-level Log level info
-log-format Log format text
-listen-address Network address to accept NetFlow packets :2055
-metric-address Network address to expose metrics :9438
-metrics-path Path under which to expose metrics /metrics
-include Include filter for NetFlow packets Count$
-exclude Exclude filter for NetFlow packets Time
-sample-expire How long a sample is valid for 60s

Support 💛

Donate with Bitcoin Donate 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址