Hi again!But I'm not using Javascript, I'm doing everything by shell and I'm having several troubles transcripting setFlow functions to shell (because I have no idea), but above all things, how do I have to introduce that tcp_rtt_country, because I tried:curl -H "Content-Type:application/json" -X PUT --data "{keys:'country:[if:tcpdirection:sent:ipdestinacion:ipsource]', value:'tcprtt', t:20}" http://127.0.0.1:8008/flow/tcp/jsonand GET it withAnd I obtained this:Of course, it has to be wrong because I want the tcprtt value, not a string saying "tcprtt" or something like that. I want to remark I have no idea about this and I only want to get latency, jitter and wrong packets from a flowDo you know where did I make the mistake?Thanks in advance :)
--
You received this message because you are subscribed to the Google Groups "sFlow-RT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sflow-rt+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Peter,I'm really bocked with this cause I've tried all the possibilities and none of them is giving me the tcprtt parameter, I tried the next commands:1) The one you wrote to me:
curl -H "Content-Type:application/json" -X PUT --data '{keys:"if:tcpdirection:sent:ipdestinacion:ipsource", value:"tcprtt", t:20}' http://127.0.0.1:8008/flow/tcp/json
2) I changed ipdestinacion for ipdestination cause I supposed it was a mistake.3) Also I changed the order of the comas, cause in the only example something happened on sflow, the first coma was a double coma and the second coma was a single coma, like this:curl -H "Content-Type:application/json" -X PUT --data "{keys:'if:tcpdirection:sent:ipdestination:ipsource', value:'tcprtt', t:20}" http://127.0.0.1:8008/flow/tcp/jsonThe answer for these 3 commands was the same, was this one (nothing from the flow):4) As I got something using the next command:curl -H "Content-Type:application/json" -X PUT --data "{keys:'ipsource,ipdestination,tcpsourceport,tcpdestinationport', value:'bytes', log:true}" http://127.0.0.1:8008/flow/tcp/jsonI decided to change the parameter value:'bytes' for value:'tcprtt' like this:curl -H "Content-Type:application/json" -X PUT --data "{keys:'ipsource,ipdestination,tcpsourceport,tcpdestinationport', value:'tcprtt', log:true}" http://127.0.0.1:8008/flow/tcp/jsonAnd I got nothing:So at the end, I have no idea about why is going wrong, and the links you sent me, besides being awesome to understand sFlow, don't answer my doubts because they don't teach me how to write the commands and why are the commands like that (I mean, I don't understand why should I use double commas or just single commas, or where should I write the parameter tcprtt if there are like 100 possibilities).Could you help me? I've been 2 weeks looking for information, I only want to measure the latency, the jitter and the number of lost packets, that's why I need the tcprtt parameter.Sorry for the inconvenience and thanks in advance.
Hi again!I'm not using mininet and I tried to capture traffic with Wireshark in order to see if there was possible to get the RTT in my virtual workspace. I have this interfaces involved:To be more clear, this is my topology:And I want to measure the latency from one namespace to another, so I have to measure it on ovs. Wireshark can show me the RTT but sFlow can't do so.(I am creating traffic TCP between them). So if Wireshark gets it but sFlow doesnt, I dont know what is going wrong.Thanks in advance.