I am working on an Elastic Stack that will be used to measure network activity in a testbed for various pieces of equipment.
My current hurdle is around measuring jitter and packet retransmits and drops.
Has anyone used one of the existing beats, with or without aggregation or other processing methods, to successfully measure these items?
Even if it's something like a script that dumps data into a log file that's then pushed by filebeat into the stack, that would be a phenomenally helpful thing to see how it's done.
I've managed to pull some latency data by using Heartbeat and http.rtt.response_header.us, so now I am attempting to put together a script to calculate jitter.
In case anyone is really good at scripting/TSVB but don't know what Jitter is, here is an example:
Jitter is the average difference in latency for a series of packets.
Jitter, divide by the number of intervals (i.e. packets - 1)
Divide by Packets - 1 (i.e. Interval Counts)
170 / 4 = 42.5ms Jitter
So I need to write something that takes http.rtt.response_header.us, and compares it to its immediate predecessor to get my interval, and then run through the math. That will solve my Jitter issue. I'm still working on packet retransmissions and drops.
Also in TSVB there is a serial difference function that you could make positive only but that will just be a graph not persisted in the the data, you can do math there as well I suspect divide by the number of sample etc... I will think about it a bit...
Perhaps I can try that with some heartbeat data I have...
This looks promising! I'm going to mirror this in my environment and get back with you!
Thank you for your help, I'll mark as solution as soon as I confirm! I think retransmit is beyond what I'm able to look at for the moment, so I'll edit my initial post to note that for anyone that runs across this in the future.
Resolved - Note to anyone that finds this thread, everything was resolved except retransmission. So if you're looking for details on retransmission packets you'll need to continue working.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.