Comments (3)
Please include your /etc/hsflowd.auto file, and one of the counter samples (as
printed by sflowtool).
There should be a line like this in /etc/hsflowd.auto:
sampling = <N>
or perhaps:
sampling.http = <N>
This enables 1-in-N sampling of web requests, so if you set N to 1, then
every GET should result in a FLOWSAMPLE (and "sflowtool -H" should print it in
common-logfile-format).
Did you try all this already and it still doesn't work for you?
Neil
Original comment by [email protected]
on 3 Jun 2011 at 5:56
- Changed state: Accepted
from nginx-sflow-module.
adding sampling.http=1 did the trick, perhaps README should be updated to
include it also to hsflowd.auto.
btw, is it normal that it did not give sample from the first http request, when
doing second http request, it gives first request, etc, so it always one
request behind.
also, not whole http useragent is not coming thru, is there possibility to get
whole useragent also?
Original comment by [email protected]
on 7 Jun 2011 at 12:24
from nginx-sflow-module.
Yes, the module is data-driven only at the moment. I haven't figured out how
to request a 1-second "tick" callback from the engine. That tick would
normally flush an sflow datagram that was not full yet, but should be sent out
anyway.
The current draft of the sflow standard limits the useragent to 64 chars. We
don't want to ever fill the whole datagram with just one transaction sample so
that's why it is chopped. If you think it should be 128 or more then please
raise this on the discussion group at sflow.org.
Neil
Original comment by [email protected]
on 8 Jun 2011 at 2:15
- Changed state: Verified
from nginx-sflow-module.
Related Issues (7)
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 nginx-sflow-module.