Results 1 to 3 of 3

Thread: Looking for a freeware text search utility

  1. #1
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber

    Looking for a freeware text search utility

    A few times over the last few years I have had cause to look through large log files for unusual entries, and as I'm not looking for something specific, it would be handy to be able to filter out all ordinary lines and see what is left.

    As an example, I have a 2Mb log file from a web server, and each line stores the date, time, source IP address, URL requested and result code.
    We have an external monitoring system periodically checking the status of pages on the site to ensure their availability and integrity.
    This causes the log files to be much greater than they would normally be due to "genuine" traffic, and filled with requests from the same source IP address.

    What I'd like to do is filter out all lines with this source IP address in - but as the lines are all unique (date, time, URL change) I can't just do a search & replace with a blank field.


    Does anyone know of any freeware Windows utility that would do what I want?

    Unfortunately I can't think of suitable search phrases to enter in Google to make it find one for me
    I guess it's a kind of "anti-grep" utility?
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

  2. #2
    Oh no!I've re-dorkalated! Jiff Lemon's Avatar
    Join Date
    Jul 2003
    Location
    Sunny MK
    Posts
    2,504
    Thanks
    80
    Thanked
    44 times in 41 posts
    Import into Excell, Sort and cut?

  3. #3
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    Okay, I guess I could import as CSV (the logs happen to be delimited with commas) and sort on the IP field, then highlight the (ir)relevent records and delete them...

    Thanks, I must admit I didn't consider that - and if I need them in natural order I can re-sort on the date field.

    Was kind of hoping for a tiny tool to open the files directly and work with them, but whatever works I guess

    Cheers!
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •