Another Upgrade from 1.6 to 1.7 command question. #593
Replies: 2 comments 1 reply
-
It's not about the print format Assume you use |
Beta Was this translation helpful? Give feedback.
-
I believe I found the syntax to us to get the information I need however it looks like I will need to change some other stuff up to make sure its getting the correct data. These are the flags I believe will give me the correct information, both remove the use of the
and
|
Beta Was this translation helpful? Give feedback.
-
Hello again, I have gotten stuck with a couple more commands and was looking for some advice to better understand the proper syntax to use. Both of the commands that are failing are using -o fmt followed by some data. The first command has this for the -o flag
-o 'fmt:%sa, %da, %sp, %dp, %pkt, %byt, %fl
and the error returned was
Can not use print format fmt:%sa %da %sp %dp %pkt %byt %fl to aggregate flows
I tried it with and without comma's and spacings but non of the attempts worked. The second command using the -o fmt flag that I have that worked for 1.6 is
-o 'fmt:{"protocol": "%pr", "start": "%ts", "end": "%te", "duration": "%td", "srcip": "%sa", "dstip": "%da", "srcport": "%sp", "dstport": "%dp", "srcas": "%sas", "dstas": "%das", "packets": %pkt, "bytes": %byt, "flows": %fl, "packets": %pkt, "tos": %tos, "bps": %bps, "pps": %pps, "Bpp": %bpp}'
The returned error was the same as the first error but with the different sent information.
Any help to better understand is very much appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions