XFlows
X(DP)-based Flows
A SFlow agent designed for performance and ease of use.
Table of Contents
Features
- Config Based: Insanely easy to configure to any variety of use cases.
- Performant: All aspects were designed with performance in mind.
- Small API: With only a few methods, there's not much to learn.
- Fault Tolerant: Can specify several outputs at once.
Example
exporter, err := xflows.NewExporter("config.yaml")
if err != nil {
logger.WithError(err).Fatal("Failed to create XFlows exporter")
}
exporter.ListenFlows(program.SFlows)
Yes, it is literally that easy.
FAQ
Why did you do this?
Well, I got bored. Needed something to do so this was a good spend of 24 hours.
Will this be fine in production?
Don't know til you've tried it but probably 🤷♂️