package
4.1.3+incompatible
Repository: https://github.com/els0r/goprobe.git
Documentation: pkg.go.dev

# README

goConvert

Ingest flow data from CSV files and convert it to GPFiles for goDBv

Quick Start

How to run

go run goConvert.go --help

Ingesting Flow Data

You need to make sure that the data which you are importing is ordered by time and provides a column which stores UNIX timestamps. An example csv file may look as follows:

# HEADER: bytes_rcvd,bytes_sent,dip,dport,packets_rcvd,packets_sent,proto,sip,tstamp
...
40,72,172.23.34.171,8080,1,1,6,10.11.72.28,1392997558
40,72,172.23.34.171,49362,1,1,6,10.11.72.28,1392999058
...

You must abide by this structure, otherwise the conversion will fail.

# Functions

NewCSVConverter initializes a CSVConverter with the Key- and Value parsers for goProbe flows.

# Structs

Config stores the flags provided to the converter.
CSVConverter can read CSV files containing goProbe flow information.
IfaceStringParser parses iface strings.