-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to identify traffic direction in sFlow information? #317
Comments
elastiflow ` if [sflow][source_id_type] == 0 { |
Hello, My advice would be to either:
|
I noticed that the -mapping parameter can specify fields, and the example file includes flow_direction. However, I'm not quite sure how to use this specifically. How can I add this field in sFlow? |
Hello, |
"Hi, @lspgn, there are three fields in the sFlow sample, namely Source ID index, Input interface value, and Output interface value. To distinguish the direction of traffic, matching is done based on Source ID index, Input interface value, and Output interface value. I wonder if it's possible to add a 'direction' field. I believe this would be meaningful, especially in traffic analysis scenarios." |
Hi @meguoe, I had a look and it's part of the
The MIB contains more details:
It seems to be interpreted as the direction in the case of Ethernet but I'm curious how common it is in the wild What's the hardware vendor? |
hi @lspgn , My hardware vendor is Huawei, and the models are CE8850 and CE6857 |
Thank you |
How to identify traffic direction in sFlow information?
The text was updated successfully, but these errors were encountered: