Some queries not logging using RDS's SQL Server with C2 Auditing enabled
Similar to a past issue I had with audited queries not showing when using Extended Events, I'm having an issue with queries not logging when using C2 Auditing on an RDS SQL Server instance. (I would...
View ArticleCould you monitor all changes made within a postgresql database by somehow...
I've been reading about postgresql replication and was wondering if it was somehow possible to listen to the replication binary log and push that to some tool like sumologic or splunk so that any...
View ArticleStoring revisions and relations between revised items in 1:N and N:N...
I have several of the following situations in a MySQL schema that I design for a custom CRM/ERP solution.1:N related tables SO and SO_ITEMS (SO is just one example I have several) that both need to...
View ArticleGet the deleted value using while looping through the columns
I wrote a trigger to do auditing. To capture all the changes, I loop through the list of columns. The problem I'm having (see code below), when I try to set the OldValue using the @fieldname, I get...
View ArticleDiscover who changed SQL Server service state
There's any way to find out who stopped\restarted\started the following services ?SQL Server Database EngineSQL Server AgentSQL Server Analysis ServicesThanks !
View ArticleUsing views with no insert table VS Audit tables
I(not a DBA) am considering designing Audit tables for an application that needs to be really fast as well fully audited (undo is not necessary). I referred to some from so and I found variations of...
View ArticleTrack MySQL Procedure Changes in MySQL
We want to keep track of changes being done to MySQL procedures only, actually recently our procedures seem to have overwritten to some previous versions and we were unable to track it that who did...
View ArticleAudit succesfull logons , loging every 2 seconds
I created an audit to audit only succesfull logons. But the problem is, I did it in a test environment and it's loging a connection every secondDid I do something wrong ? I only selected SUCCESFULL...
View ArticleWhere can I get error messages from SQL Server Auditing?
Where can I get information about the audit process failing to start?I'm setting up auditing on my MS SQL 2014 server. I've created an AUDIT and an associated AUDIT SPECIFICATION, but when I try to...
View ArticleWhy doesn't MariaDB server recognise Server Audit settings in config file?
I'm trying to implement the Server Audit plugin that is built-in with MariaDB 10.4. I've added the settings to the my.ini config file, running on Windows 10.[server]...#Audit...
View ArticleJava Spring application Database triggers auditing - how to provide the right...
We are developing a new web application.one of the most basic requirement is to audit all entities changes into a separate table.We would like to use DB triggers for that purpose.We use MySQL as our...
View ArticleMySQL router making mysql general log not useful
I am running MySQL 5.7 on a 3 node cluster using InnodBCluster. It is making the user of the general_log quite challenging. The mysqlrouter check ins are being logged in the mysql general_log. These...
View ArticleQuery to find users with passwords same as their username in Oracle
I'm writing an Oracle audit script where I need to find users in a database who have set their passwords to be the same as their username, e.g. dbaadmin/dbaadmin. The query would need to get the list...
View ArticleAudit trigger 91plus: setting up with proper role?
One of the solutions available for auditing in PostgreSQL is Audit trigger 91plus.wiki pagegithub pageThere is a section in the wiki that is confusing to me:Changes by the table owner and superusers...
View ArticleMySQL Plugin failed to install due to "undefined symbol"
For several years now I have used the MariaDB Audit Plugin on my MySQL databases. I am now looking to start Upgrading my databases to MySQL 8, and so have just tried installing it onto MySQL 8.0.19,...
View ArticleLOG all SQL Server queries with their durations
Is there a way to log all Microsoft SQL Server queries executed on a certain server, with their respective durations?I'd like to be able to analyze all queries will a tool like what PGBADGER does for...
View ArticleAuditing of database connections in SQL Server 2008 R2
We are finally planning to close down our last SQL Server 2008 R2 server. Before we can proceed with this we need to track what users are connecting to which databases. We have tried different options...
View ArticleFind if and when a Query was run?
I am trying to get to the root of a problem and need to see if and when a specific Delete Query was run on my MS SQL Server.The command would have come from my .NET website.My Server is Windows 2012 R2...
View ArticleIdentify table usage in sql server before we stop the load
I tried browsing this across lot of links but cant get much of help so i am posting this question which sound bit similar.We have quite some tables which are being planned from our app team that they...
View ArticleOracle sys SYSDBA audit information to a report
I am trying to produce a monthly report on Audit. I am able to query the DBA_AUDIT_TRAIL, for all other users and no issue in that.I wanted to include the SYS/SYSDBA activities in this report and I...
View Article