Invert sorting using RA_SORT_ALGORITHMS ?
Drew Dixon <[email protected]> Mon, 11 Feb 2019 12:57:46 -0500
| Newsgroups | gmane.network.argus |
|---|---|
| Message-ID | <CA+pNqTNK4v++p0=F0NQfjqfF2UYWBJEvqWcPVNpaDrMNtzn7Jg@mail.gmail.com> |
--000000000000f277470581a20df9 Content-Type: text/plain; charset="UTF-8" Hi there, Somewhat straightforward question here, but was unable to find it in the docs (forgive me if I missed it) but is there a way to invert the sort on a field using the RA_SORT_ALGORITHMS="field" parameter? I'm looking to do this with ratop...and would like to sort based on flow duration (runtime) however it seems to sort in ascending order of flow duration by default so I'm just stuck with a ton of 0.000 flows at the top of ratop rather than what I desire which would be descending order so I can see the longest running flows at the top. RA_SORT_ALGORITHMS="runtime" Just for fun I tried RA_SORT_ALGORITHMS="-runtime" but that's not supported it seems. Thanks! -Drew --000000000000f277470581a20df9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hi ther= e,<div><br></div><div>Somewhat straightforward question here, but was unabl= e to find it in the docs (forgive me if I missed it) but is there a way to = invert the sort on a field using the=C2=A0RA_SORT_ALGORITHMS=3D"field&= quot; parameter?=C2=A0=C2=A0</div><div><br></div><div>I'm looking to do= this with ratop...and would like to sort based on flow duration (runtime) = however it seems to sort in ascending order of flow duration by default so = I'm just stuck with a ton of 0.000 flows at the top of ratop rather tha= n what I desire which would be descending order so I can see the longest ru= nning flows at the top.</div><div><br></div><div>RA_SORT_ALGORITHMS=3D"= ;runtime"<br></div><div><br></div><div>Just for fun I tried RA_SORT_AL= GORITHMS=3D"-runtime" but that's not supported it seems.</div= ><div><br></div><div>Thanks!</div><div><br></div><div>-Drew</div></div></di= v></div></div> --000000000000f277470581a20df9--