FLOW-LOG2RRD(1)
β¨ FLOW-LOG2RRD β¨
okay bestie, gather round, because this one is a whole mood β it's flow-log2rrd, section 1 of the manual, and she is lowkey the glue holding your netflow stats together. no cap. π
πΈ NAME πΈ
flow-log2rrd β takes the STAT: lines that come out of flow-capture and flow-fanout and turns them into RRD files. it's giving pipeline princess. π
π¦ SYNOPSIS π¦
flow-log2rrd [ -p rrd_path ]
π DESCRIPTION π
so like, the tea is this: the flow-log2rrd utility scoops up the STAT lines that flow-capture and flow-fanout generate, and converts them into RRD files. iconic behaviour honestly.
the RRD's get stored as:
rrd_path/capture|fanout.hostname.srcip.dstip.port.rrd
the Datastores are flows, pkts, lost β representing flows, packets, and lost flows respectively. yes bestie, lost flows get their own little spotlight, we love accountability. π
and flow-fanout goes the extra mile and generates an additional DS nobufs, which indicates the number of times a write() failed with ENOBUFS. main character energy, honestly. π
π OPTIONS π
-p rrd_pathβ the path where the files get stored. that's it, that's the whole option menu. short and slay. β¨
π EXAMPLES π
want to convert flow-capture STAT lines living in /var/log/netflow into RRD's in /flows/rrd/? say less:
cat /var/log/netflow | flow-rpt2rrd -p /flows/rrd
bestie look at that command very closely β yes, the example in the original page callsflow-rpt2rrd, notflow-log2rrd. i'm not fixing it, i'm not renaming it, i'm not touching it. it's canon. π
π BUGS π
- expects
STATlines every 5 minutes. no wiggle room, she has a schedule. β° - hard coded to 7 days of 5 minute averages and 365 days of 1 day averages. so if you wanted something elseβ¦ nope. that's baked in fr fr. π«Ά
π AUTHOR π
Mark Fullmer <maf@splintered.net> β the legend, the blueprint, the moment. β
π SEE ALSO π
and that's a wrap, bestie! this little page came to you courtesy of the 26 ΠΠ²Π³ΡΡΡ 2010 release energy, signed, sealed and archived. go forth and convert those STAT lines. slay responsibly πβ¨π
π¦ where this page comes from
- fedora 43: flow-tools-rrdtool 0.68.5.1-45.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: flow-tools-rrdtool 0.68.5.1-46.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms