zgrep help needed
inyourname
Member Posts: 6 ■□□□□□□□□□
in Linux+
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
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
Comments
-
paul78 Member Posts: 3,016 ■■■■■■■■■■zgrep 'AWS-VPN' /var/log/paloalto.log.gz | grep zgrep 'xxxx' > /home/mydirectory/AWS-VPN.txt