Hello,
I'm still feeling lost . . .
If the syslog copy is already being processed ("and have it in the flat file."), why is there a desire to go back into the "real" syslog? Is what you want not already in the flat file and already located?
dick scherrer wrote:Hello,
I'm still feeling lost . . .
If the syslog copy is already being processed ("and have it in the flat file."), why is there a desire to go back into the "real" syslog? Is what you want not already in the flat file and already located?
Peter wrote: , is this copy the same as the current log?
Viswanathchandru wrote:Dear Scherrer & Peter,
Thanks for addressing the post.
Peter wrote: , is this copy the same as the current log?
I have already stated that the copy contains the messages/errors that i need to filter from the whole log. ( Which means it has got the content of the syslog but not exactly the same.)
Reason for not having the full syslog into the flat file : It occupies more space for 2 or 3 days of records it counts around 15 to 20 lakh lines. So I decided to read the log filter only the lines with the Keyword/Messages given in the filter part of the code. So In this case I would need to go back to the log and find what happened. Instead of doing a wild search in the log for errors I found this as a simple way to get my target achieved. Hope I'm clear.
Regards,
Viswa
I can't understand this. I execute the script the moment I need to trace the Log. So, It obviously means I have the current log if I'm not wrong.how do you know the data in the flat file is actually in the current syslog?
I execute the script the moment I need to trace the Log. So, It obviously means I have the current log if I'm not wrong.
I execute the script the moment I need to trace the Log.
Which is why i continue to stay lost . . .If you have a reason to find the information then just do it there and then - within the syslog.