I have this big syslog file.
I need to get the data that is associated with 'AWS-VPN' tunnel name.
But this big data has the logs from all different firewall.

I want to get 'AWS-VPN' data from the firewall that has serial number of xxxx.

Would this be correct?

zgrep 'AWS-VPN' 'xxxx' /var/log/paloalto.log.gz > /home/mydirectory/AWS-VPN.txt

thank you