Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Alternative to "TAIL for Win32"

01 Mar 2010   #1
badgerfruit

windows / Linux - Depending on mood
 
 
Alternative to "TAIL for Win32"

Hello Guys and Gals.
I need to be able to read through SMTP logs and apply a filter to make tracing problems easier. At the moment I use Firefox's Find and Highlight features which work but mean scrolling a plenty as these logs can be several MB (doesn't sound a lot but they're plain text so they are HUUUGE!!!).

I'd like to be able to download the log, enter a filter as I can in Tail and it only show matching line. Finding software to do that is proving difficult and we're not willing to spend any money on it (after all, it might take longer to do manually, but no point spending on it).

Tail would be good but the files seem to be too big and it only shows the tail of the file (no good). Sorry for babbling on, I hope that someone can come forward with some recommendations. Thank you.


My System SpecsSystem Spec
.
01 Mar 2010   #2
TimStitt

Windows 7 Ultimate 64 bit
 
 

Hi BadgerFruit,

Here's what I/the team came up with last time, hope this helps.
A tail like utility

Tim
My System SpecsSystem Spec
01 Mar 2010   #3
badgerfruit

windows / Linux - Depending on mood
 
 

Great, thanks!
/slaps one-self for not searching forum first, sorry!

I'll give it a go and see if it matches our needs!
Many thanks again for the link
My System SpecsSystem Spec
.

01 Mar 2010   #4
TimStitt

Windows 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by badgerfruit View Post
Great, thanks!
/slaps one-self for not searching forum first, sorry!

I'll give it a go and see if it matches our needs!
Many thanks again for the link
No prob... I always forget to search too . Let me know how you go.
My System SpecsSystem Spec
01 Mar 2010   #5
badgerfruit

windows / Linux - Depending on mood
 
 

OK, although this seems to fit most of our requirements, there doesn't seem to be any options to view only the highlighted lines.

For example if I tell it to highlight foor@bar.com, sure enough it highlights but the other 10,000 rows are still visible making it just as hard to find as it is using Firefox's find/highlight. Any ideas on products that would do this?
My System SpecsSystem Spec
01 Mar 2010   #6
TimStitt

Windows 7 Ultimate 64 bit
 
 

I see what you mean, highlight works great but there is no filter option for the highlight so that you only see the highlighted entries.

I'm not aware of a windows tail utility that does this, at least not a free one (which is all that I have looked at). But I'm not giving up on you, what is the goal here? Does it need to be a tail utility or is there a specific goal that we can vbscript or batch for?
My System SpecsSystem Spec
02 Mar 2010   #7
Hasan Madrid

Windows 7 Ultimate X86
 
 

Thanks.
My System SpecsSystem Spec
02 Mar 2010   #8
badgerfruit

windows / Linux - Depending on mood
 
 

TimStitt, after consideration, the tool would be more of a "GREP for Windows" then it would be a "tail replacement" ... after all, I don't need to see the log updating in real-time but to simply output to screen and filter the output by my keyword(s).

For example, in linux I can use "more /var/log/email.log | grep foo@bar.com" and it would parse the file, returning only lines where foo@bar.com was present.

Now, after performing a goooooogle search for the correct tool, it seems there are quite a number - the lack of admin rights on the PC I am using is now the only remaining obsticle. Mind you, for now, I have worked a way out to get the info I need - stuff the log file onto an FTP site and query via linux shell (where more and grep are already there).

This works and I have managed to filter the terms quite nicely.
I appreciate your time and help with this though and I'm sorry for asking the wrong question to start off with!!

/DOH
My System SpecsSystem Spec
02 Mar 2010   #9
TimStitt

Windows 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by badgerfruit View Post
This works and I have managed to filter the terms quite nicely.
I appreciate your time and help with this though and I'm sorry for asking the wrong question to start off with!!

/DOH
Great! no worries, I'm just happy to hear that you have a solution.

.... also another good reminder of why I like those fantastic freebies in Linux distributions and great little commands like Grep.
My System SpecsSystem Spec
Reply

 Alternative to "TAIL for Win32"




Thread Tools




Similar help and support threads
Thread Forum
Security Essentials can't remove/quarantine "Adware:Win32/FastSaveApp"
Hi there Each time I switch on my PC Security Essentials flags up an medium alert (status active) concerning a detected item - "Adware:Win32/FastSaveApp". I've applied the action "Quarantine" and "Remove", each time Security Essentials completes the operation and tells me to restart my PC. ...
System Security
How can I be sure if I am still infected with "Win32/Small.CA" virus".
Hi I got a "Solve PC Issues" (white flag) saying "Remove the Win32/Small.CA virus". I am running MSE (Microsoft Security Essentials) on Windows 7 Pro (x64). So I did an update followed by a full scan using MSE. I then ran - Malware Anti-Virus - SUPERAntispyware - Microsoft Safety Scanner...
System Security
"application" can't be run in win32 mode"
I'm trying to run VIPRERESCUE to check for rootkit virus's, but when I dbl click on the application, I get a pop up saying "application can't be run in Win32 mode." I'm using a system that is loaded with the 64 bit version of Win 7 Home Premium. I have run this successfully in the past (don't...
Software
"not valid win32 application" error
Win 7 Home Premium, new HP laptop, 32 bit, Pentium Dual Core Installing applications, including ones that say they are Win 7 compatible, I get "not valid win32 application". Letting the system adjust compatibility does no good. I got Visual Studio 2005 installed with a banner at the end...
Installation & Setup
Avast has found "Win32:Tibs-AFH [Trj]" - any advice?
Hi My Avast anti-virus program has detected a Trojan Horse called "Win32:Tibs-AFH ". How do I find out how serious a problem it is? FWIW, it appears to be connected to some email (I am using Outlook2003) - something to do with Condoleeza Rice.... With thanks
System Security
Avast just found this "Win32:Adloader-AC [Trj]"
And calls it a trojan horse. When I try to move it to the chest it says there is not enough space on the disk. What? how can that be? Is there a chest size setting? Im not really sure what to do with this. Should I delete it permanently or put it in the trash? Is it a false positive?
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App