Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.14 KB

getting-started.md

File metadata and controls

51 lines (35 loc) · 1.14 KB

Getting Started with Fluvia Exporter

This page explains how to export IPFIX with Fluvia Exporter.

1. Fluvia Exporter as a IPFIX Exporter Daemon

Instllation

$ go install github.com/nttcom/fluvia/cmd/fluvia@latest

Configuration

Specify the IP address and port number for IPFIX collector

---
ipfix:
  address: 192.0.2.1
  port: 4739
  ingress-interface: ens192
  interval: 1

interval is the intervals between exports (seconds) and the default is 1 second.

Run Fluvia Exporter using the fluvia command

Start the fluvia command. Specify the created configuration file with the -f option.

$ sudo fluvia -f fluvia.yaml

2. Fluvia Exporter as a Native IPFIX Exporter Library

Clone this repository

$ git clone https://github.com/nttcom/fluvia

Run the example tools

tools/exporter/exporter.go is an example of Fluvia Exporter as a native IPFIX exporter library. This code includes the IPFIX templates/data from draft-ietf-opsawg-ipfix-srv6-srh Appendix A Figure 1/2.

$ cd tools/exporter
$ go run exporter.go