I need to alter the input fields using AWK command – perform shell command operation on one of the input field & display
cat test-file.log |awk ‘{print $1,command executed on $1}’ Example – I am getting ipaddress in $1 – so I need to display output like Address | Reverse dns lookup on the IP 8.8.4.4 | dns.google $1 – is count of specific IP logged $2 – is IP Address $3 – modified to display – the […]