Combing through firewall logs. I am extracting source, destination, dest_port.
I have a csv lookup file with ports and descriptions of those ports, both udp and tcp. I want to take the description from the lookup and add to the results in a table.
Here is my search:
| stats count by SRC, DST, DEST_PORT
| lookup tcp-udp description OUTPUT description AS desc, port
| eval desc=if(DPT = port, description, "not ok")
| table SRC, DST, DEST_PORT, port, desc
the port and desc field are blank and say "not ok" respectively. I'm stuck...
... View more