Archive
Highlighted

How getting login/logout accesses from a MS-Sql server stardard Ed. in Splunk?

Contributor

Hi,

What is the smartest way to collect the login/logout accesses from a ms sql server without using the add-on or the dbconnect app?
The version of ms-sql is s 64bit standard edition (in fact, I found out auditing is not available in this edition).
I was thinking of putting a inputs.sonf in a Splunk fw and then deploy the app to ms sql servers, but I am nit sure about the stanzas to define there...

Thanks for any suggestion,
Skender

0 Karma
Highlighted

Re: How getting login/logout accesses from a MS-Sql server stardard Ed. in Splunk?

Legend

I haven't a Standard Edition to test it, but it seems to me that also SE sends logs to Win Event Log Security.
So Event Codes are:
24001 login succeeded
24002 logout succeeded
24003 login failed
Bye.
Giuseppe

View solution in original post

Highlighted

Re: How getting login/logout accesses from a MS-Sql server stardard Ed. in Splunk?

Contributor

Hi Giuseppe,

I have had no chance to test it yet, but I will let you know as soon as possible.
Thanks for the Event Codes!

Skender

0 Karma
Highlighted

Re: How getting login/logout accesses from a MS-Sql server stardard Ed. in Splunk?

Contributor

Ok, I cannot try this right now, but I just put into the inputs.conf (deployed via FW app):

[WinEventLog://Security]
start_from = oldest
checkpointInterval = 5
disabled = 0
index = my_ms_sql
whitelist = 24001-24003

Should it be fine?
Skender

0 Karma
Highlighted

Re: How getting login/logout accesses from a MS-Sql server stardard Ed. in Splunk?

Contributor

Hi Giuseppe,

You are right, but some versions of MS-SQL servers sent logs with EventCodes to the Windows:Application channel and not Windows:Security (the codes I verified were: 18453, 18454 , 18456).

Anyway, your suggestion was correct!

Thanks,
Skender

0 Karma