SIEM: MSSQL Audit Parser
Hi,
I am getting MSSQL audit logs with Agent on the windows machine where Microsoft SQL Server is located. Here I want to parser important information in the log such as Statement (Insert, Select, Create, Alter), DB Name etc. The logs coming to SIEM hit the default parser ( “WinOSXmlParser” ). This parser does not get the fields I want. I edited the existing parser and added the following fields, but this was not enough. Has anyone experienced this before?
</when> <when test="$_id = '33205'"> <collectAndSetAttrByKeyValuePair sep="\n" src="$msg"> <attrKeyMap attr="serviceAccount" key="Service Account:"/> <attrKeyMap attr="serviceFileName" key="Service File Name:"/> <attrKeyMap attr="serviceName" key="Service Name:"/> <attrKeyMap attr="serviceStartType" key="Service Start Type:"/> <attrKeyMap attr="serviceType" key="Service Type:"/> <attrKeyMap attr="actionId" key="action_id:"/> <attrKeyMap attr="serverPrincipalName" key="server_principal_name:"/> <attrKeyMap attr="targetServerPrincipalName" key="target_server_principal_name:"/> <attrKeyMap attr="statement" key="statement:"/> </collectAndSetAttrByKeyValuePair> </when>