SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Login Auditing


Login Auditing

Author
Message
Brian Brown-204626
Brian Brown-204626
SSC Veteran
SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)

Group: General Forum Members
Points: 271 Visits: 297
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?
Lowell
Lowell
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28336 Visits: 39956
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 facetsSadSee 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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

arunyadav007
arunyadav007
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 299
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
Brian Brown-204626
Brian Brown-204626
SSC Veteran
SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)

Group: General Forum Members
Points: 271 Visits: 297
I am aware of both these thing, but this does not answer the question I asked.
Joie Andrew
Joie Andrew
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2335 Visits: 2032
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"
Brian Brown-204626
Brian Brown-204626
SSC Veteran
SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)

Group: General Forum Members
Points: 271 Visits: 297
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.
Lowell
Lowell
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28336 Visits: 39956
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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Hemant.R
Hemant.R
SSC-Enthusiastic
SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 Visits: 240
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.
johmga26ssn
johmga26ssn
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 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.:-P

bloated stomach
ssnrobtcok
ssnrobtcok
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
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. Hehe

business plans
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search