ng-labo / flowinsert

Example that using sflowtool, flow records insert into VoltDB table.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using sflowtool csv formating output, this tool inserts records into voltdb table with timestamp. Code by golang and voltdb-client-go makes simple.

First, prepares github.com/VoltDB/voltdb-client-go/voltdbclient

script SFLOW.sql creates a table with TTL, that is new function of VoltDB.

$ go build
$ sqlcmd
> file SFLOW.sql
> ^D
$ ./flowinsert sflowtool -l

About

Example that using sflowtool, flow records insert into VoltDB table.


Languages

Language:Go 100.0%