Advice needed

From: Linchi Shea (linchi_shea_at_NOSPAMml.com)
Date: 12/29/03


Date: Mon, 29 Dec 2003 12:42:26 -0800

Two methods:

1. Schedule a daily job on the server to run
sp_cycle_errorlog
2. Write a one-liner Perl as follows to filter out all the
login entry. This will singificantly reduce the file size
before viewing.

cmd>perl -e -p "s/^.+failed login.*$//i;" errorlog >
shorter_errorlog.txt

Linchi

>-----Original Message-----
>I have an sql server db on a remote dedicated server that
is open on
>internet, for remote report writing.
>The company that uses is it extremely large and well
known, due to this the
>sql server gets hammered by bogus logins.
>10,000+ of them a day,.
>Security wise its ok but the bloody error log files are
huge 27-48 mb.
>
>Because I logonto this server remotely atleast once a day
and check logs, I
>am finding it difficult to read them due to the size for
vieving log file
>in a TS session.
>
>How can I create 1 error log a day for 7 days then
recycle them, or atleast
>create them into more manageble sizes.
>Regards
>Don
>
>
>.
>



Relevant Pages

  • SecurityFocus Microsoft Newsletter #152
    ... MICROSOFT VULNERABILITY SUMMARY ... Real Networks Helix Universal Server Remote Buffer Overflow ... ... NEW PRODUCTS FOR MICROSOFT PLATFORMS ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #140
    ... Cafelog b2 Remote File Include Vulnerability ... Webfroot Shoutbox Remote Command Execution Vulnerability ... Pablo Software Solutions Baby POP3 Server Multiple Connection... ... Microsoft Windows XP Nested Directory Denial of Service... ...
    (Focus-Microsoft)
  • Re: Problem with connect computer wizard
    ... Make sure the Windows XP client is pointing to the SBS 2003 server as ... Please collect the IIS metabase and the latest IIS log files further ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote Office Configuration Suggestions?
    ... The additional DC at the remote site, could not be the SBS server, as you ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • RE: SBS 2003 sudden services problem over router based vpn
    ... I understand that your remote cannot receive POP3 emails through VPN ... SBS Server through routers. ...
    (microsoft.public.windows.server.sbs)