+ Reply to Thread
Results 1 to 2 of 2
  1. Junior Member
    Join Date
    Dec 2016

    Default zgrep help needed

    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
    Reply With Quote Quote  

  2. Senior Member
    Join Date
    Feb 2012
    zgrep 'AWS-VPN' /var/log/paloalto.log.gz | grep zgrep 'xxxx' > /home/mydirectory/AWS-VPN.txt
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks