Reading/Compressing of log file

Hello All

Posted a similar thread in some other section too. Regrets if this section is not suitable for this post. Request all the members to be tolerant as i'm a newbie here :slight_smile:

Coming to the topic : I've this huge log files of size 20GB-30 GB in my unix server. I want to analyse the log file for some error messages. But because of the enormity of the size of these files i'm not able to grep/search the pattern in the file [ It's taking too much time]. Also, tried to gzip the file and copy it to local machine but again it's becoming tedious.
So any expert advice on how can i go about approaching this issue. Is there any particular way or method of how exactly i can extract the needed information from the log file. Your help is highly appreciated.

You may want to split the (assumed: plain text) log file into manageable pieces, then work through them ...

Depending on the nature of these logfiles, and your craftiness, you might be able to use a tool like logwatch to do the parsing for you.

20-30gb log file?!?!?! What happened to syslog?