All Apps and Add-ons

Monitoring SQLERR logs

grantcasey
Engager

I'd like to monitor the MSSQL SQLERROR log file, for example i've turned on T1222 and want to get the deadlock output into splunk.

I think i'm just stumped on how to monitor the file named ERRORLOG (with no suffix.)

any tips?

Tags (1)
0 Karma
1 Solution

acbennett3
Engager

ERRORLOG* worked for me - got both current/no extension and archived copies

View solution in original post

acbennett3
Engager

ERRORLOG* worked for me - got both current/no extension and archived copies

David
Splunk Employee
Splunk Employee

Have you tried adding an input for the file path? You should be able to add it, by following this document:

http://www.splunk.com/base/Documentation/latest/admin/MonitorFilesAndDirectories

I believe the file will be located at %PROGRAMFILES%\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG

Let me know if you run into any problems.

0 Karma

grantcasey
Engager

I know the input path to use, but the file inside that path has no extension which is causing my grief. I can't convince splunk to monitor it.

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...