|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 8:27 AM
Points: 137,
Visits: 291
|
|
| I have been asked to provide documentation on where SQL Server displays messages for login auditing. We set the auditing thru SSMS instance properties and I know that the messages are written to the SQL Server error log and the Windows Application log, however, the security people would like to see official documentation for every version and edition of SQL Server. I have searched the Microsoft support site, but could not find anything that listed or talked about where these messages are written to. Does anyone have any information on this?
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 9:24 AM
Points: 11,791,
Visits: 28,073
|
|
well, for the SQL log, exactly where the logs go is configurable...when you first install the server, one of the options is to decide on the folders.
it defaults to a certain path, of course if not changed @ setup
where it is right now, you can find out via TSQL like this:
SELECT SERVERPROPERTY('ErrorLogFileName');
you can see the current setup in the facets See the ErrorLogPath this screenshot was from showing how to change the default paths for databases and backups); to change it after installation, i believe is a registry edit and a stop and start of the server is required.

Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 3:06 AM
Points: 42,
Visits: 285
|
|
Hello,
Please refer to the below link. The second sentence says "Login auditing can be configured to write to the error log on the following events".
http://msdn.microsoft.com/en-us/library/ms175850(v=sql.105).aspx
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 8:27 AM
Points: 137,
Visits: 291
|
|
| I am aware of both these thing, but this does not answer the question I asked.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Today @ 2:10 AM
Points: 578,
Visits: 1,107
|
|
Which question exactly was not answered?
Where are login audits stored? SQL Error log, if you configure auditing successful/failed logins through the instance properties. This is the same for every version of SQL.
MS documentation stating such:
SQL 2012 http://technet.microsoft.com/en-us/library/ms175850.aspx
SQL 2008 R2 http://technet.microsoft.com/en-us/library/ms175850(v=sql.105).aspx
SQL 2008 http://technet.microsoft.com/en-us/library/ms175850(v=sql.100).aspx
SQL 2005 http://technet.microsoft.com/en-us/library/ms175850(v=sql.90).aspx
Joie Andrew "Since 1982"
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 8:27 AM
Points: 137,
Visits: 291
|
|
| I know that, when you are auditing logins, the messages go to the SQL Error log and the Windows Application log. I have been asked to provide documentation that explicitly states that these are the locations where the messages go.
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 9:24 AM
Points: 11,791,
Visits: 28,073
|
|
that documentation here is a little inferred ("the log" means sql error log), but "you mean like this one: http://msdn.microsoft.com/en-us/library/ms175850(v=sql.90).aspx
How to: Configure Login Auditing (SQL Server Management Studio) SQL Server 2005 Other Versions 1 out of 5 rated this helpful - Rate this topic Use login auditing to monitor SQL Server Database Engine login activity.
Login auditing can be configured to write to the error log on the following events.
Failed logins Successful logins Both failed and successful logins
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 5:09 AM
Points: 46,
Visits: 184
|
|
login auditing can be done easily using below option.
Failed logins Successful logins Both failed and successful logins
which write to error log .
but if you select successful logins and Both failed and successful logins
it will create events in huge manner in errorlog,which might affect your performance of server Hence select only failed login.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, February 07, 2013 2:20 PM
Points: 4,
Visits: 7
|
|
I have then tried loging into the server with an incorrect password and then checked the security logs again with event viewer and there is no event listed.
bloated stomach
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, February 22, 2013 12:29 PM
Points: 4,
Visits: 8
|
|
We tried to do the same and couldn't find a solution in audit vault. Be interested to know how to setup this. There is just too much noise from our app and since we trust the ip it comes from - we don't want to audit that but we need to audit if it's not from the trusted ip. we are evaluating a 3rd party tools called core audit by blue core research to do this.
business plans
|
|
|
|