I am new to shell script. I want to parse log extract from swatch to another Linux machine(to append the iptables firewall script).
Could you please provide me the recommendation how to write a shell script to receive log from the machine running swatch including add the ip to iptables as firewall?
Here is my example screen output of running swatch.
Thank you so much.
Could you please provide me the recommendation how to write a shell script to receive log from the machine running swatch including add the ip to iptables as firewall?
Here is my example screen output of running swatch.
Thank you so much.