Getting Data In

How to collect audit logs from MS SQL and MySQL DBs?

islamjy2011
New Member
 
Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

1. Enable audit creation on your database system. It's different in each RDBMS so you have to work with your DB admin on that.

2. Collect the log - as far as I remember, the MSSQL stores audit logs in a separate database so you have to use dbconnect to pull those entries from the database. MySQL I think simply writes audit to a flat text log file so you'll have to set up a file monitor input.

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...