Quantcast
Channel: Latest Questions by cstephen
Viewing all articles
Browse latest Browse all 42

How to .zip the sql server user audit files (.sqlaudit) ?

$
0
0

we configured user audit in our Always on availability cluster databases. and .sqlaudit file has the following configurations

USE [master] GO ALTER SERVER AUDIT [UserAudit] TO FILE (MAX_FILES = 0 ) WITH (QUEUE_DELAY = 1003 ) GO

Audit file Maximum limit: Maximum rollover files -->selected unlimited option.

And Maximum File Size: 200 MB

we configured F:/Audit location -->every day we have multiple files like this

example file:

UserAudit_9A092703-DCEC-425A-97C1-4B5D7933B0C3_0_132008916348280000.SQL audit

we need to Zip it when the file size reaches 1 GB to avoid disk space issues. kindly give us any solution or pointers

Regards

stephen


Viewing all articles
Browse latest Browse all 42

Latest Images

Trending Articles





Latest Images