Comments (3)
Thanks for posting, but please can you indicate why you would like to see this feature?
To avoid pushing too much "hidden state" out into the system it can be better to send everything to each collector and let each ignore what they don't want to see. Or, if there is some security restriction (so that one collector may NOT see the data for another) then you can send everything to one trusted collector who can then forward separate filtered feeds to the others. Do either of those approaches sound workable for your situation?
from host-sflow.
I've a box with multiples uplinks running BGP. All the traffics have been aggregated from all NICs, and I cannot easily find out how much traffics are running on each individual uplink.
from host-sflow.
The feed allows you to distinguish. hsflowd will report each NIC's packet+counter samples from a distinct sflow datasource id (equal to the ifIndex of the NIC).
It may be called different things on different collector tools. sflowtool calls it "sourceId":
https://github.com/sflow/sflowtool/blob/master/src/sflowtool.c#L2827
You could also filter packet-samples by the input/output ifindex fields. Those are known as "inputifindex" and "outputifindex" when defining flows in sFlow-RT:
http://sflow-rt.com/define_flow.php#keys
from host-sflow.
Related Issues (20)
- outputPort is always 0 in flow samples HOT 7
- How to handle TAP Traffic HOT 1
- hsflowd[2344]: SFF8036 ethtool ioctl failed: No such device HOT 7
- hsflowd does not work on Debian 11 HOT 4
- sflowtool is not showing any samples output HOT 1
- Total traffic Values are not accurate HOT 1
- Version 2.0.50-3 not compatible with Debian 10 HOT 1
- Incorrect tag version
- Question for the sampling rate HOT 4
- Version 2.0.51-17 does not work with bonding HOT 5
- FR: set source ip HOT 4
- How to modify and collect custom protocols? HOT 4
- FreeBsd Pcap conf error HOT 2
- Issues running host-sflow on Windows hyper-v
- Newer builds for RHEL-8 based distros HOT 4
- The agentIP selection is wrong when multi devices have same IPv4/IPv6 address HOT 5
- mod_psample, mod_dropmon drops samples larger than 8124 bytes HOT 6
- double disk stats computed HOT 1
- Ability to use tunnel interfaces like GRE for sFlow HOT 2
- No out interfaces on flows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from host-sflow.