MSSQL Data
The Splunk Add-on for Microsoft SQL Server is required for the field extraction.
Splunkbase Download: https://splunkbase.splunk.com/app/2648
Installation and Configuration Guide: https://docs.splunk.com/Documentation/AddOns/released/MSSQLServer/About
The Cyences App has support following data collection mechanisms
- Window Application log using Splunk Add-on for Microsoft Windows (Recommended)
- Audit table using Splunk DB Connect app
- https://docs.splunk.com/Documentation/AddOns/released/MSSQLServer/SQLServerconfiguration
-
https://www.ultimatewindowssecurity.com/sqlserver/auditlog/auditobject.aspx
- Details needed from DBA Team:
- IP Address or FQDN of DB server
- Port number for DB server
- DB table name that contains Audit Trail data
- Username & Password - Should have Readonly access to the Audit Trail Table in the DB
- Default database name and Database name
- Timezone on the database server
- Make sure that you have installed
Splunk_JDBC_mssql
Add-on https://splunkbase.splunk.com/app/6150 on your HF (where DB connect is installed). This is requirement for DB Connect App for database driver availability for Oracle. - Make sure that you have installed
Splunk_TA_microsoft-sqlserver
Add-on https://splunkbase.splunk.com/app/2648 on both your HF (where DB connect is installed) & on the SH. - Make sure to use
mssql:audit
sourcetype when configuring the data input in DB Connect App.
-
Azure MSSQL using Splunk Add-on for Microsoft Cloud Services
-
Enable Audit Log: https://learn.microsoft.com/en-us/azure/mysql/single-server/concepts-audit-logs
-
Collect using Azure Event Hub Input: https://splunk.github.io/splunk-add-on-for-microsoft-cloud-services/Configureeventhubs/
- Use
mssql:audit:json
as sourcetype when creating input
- Use
-
Note: Use both index=mssql for data collection or update the macro definition for cs_mssql
(Settings > Configuration).
Estimated Data Size
The license usage consumed by the Splunk Add-on for Microsoft SQL Server is based on the audit policy and database usage of your environment