Logs from logfile

Hi Team,

Have to write a shell script to pick only 1 hr logs from the generated logfile and send it to other logfile.

Thanks & Regards,
Indu

Can you elaborate your need ? Do you need a script that runs as a daemon and sends one hour logs to another file ? Or do you need to process an existing log file for logs between a given start and end timestamps ?

Post a snippet of your log file and we may be able to help you.
Do you need a specific hour or the last hour from the log file?

Already logfile exist in the server. That logfile will be getting update every minutes. My script has to run every a hour once and need to search for the word ENTLOGER. If we see the word ENTLOGER, that whole line has to move to another logfile. Am unable to attach the exist logfile.