Skip to content
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

Full Parameters for sflowtool -L from sflowtool -l #48

Open
takizo opened this issue Feb 22, 2024 · 1 comment
Open

Full Parameters for sflowtool -L from sflowtool -l #48

takizo opened this issue Feb 22, 2024 · 1 comment

Comments

@takizo
Copy link

takizo commented Feb 22, 2024

Good day everyone,

I would like to check what is the full params for sflowtool -L if I would like to have same data output as sflowtool -l

Currently I am using

#sflowtool -4 -p 55500 -L sampleType,agent,inputPort,outputPort,srcMAC,dstMAC,ethernet_type,in_vlan,out_vlan,srcIP,dstIP,IPProtocol,IPTOS,IPTTL,TCPSrcPort,TCPDstPort,TCPFlags,sampledPacketSize,IPSize,meanSkipCount

However, some of the data i.e ethernet_type, TCPFlags is not the same format as sflowtool -l

@sflow
Copy link
Owner

sflow commented Feb 27, 2024

The "sflowtool -l" should be considered an anachronistic legacy and ignored. It's tempting to improve or remove it, but that might break old scripts somewhere so not really worth the trouble. What you are doing with "sflowtool -L" makes sense to me. Depending on what comes next in your pipeline you might find the JSON output helpful too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants