You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sp...@apache.org on 2018/05/11 18:18:59 UTC
cassandra git commit: Docs: add audit logging limitations
Repository: cassandra
Updated Branches:
refs/heads/trunk f56871b88 -> a6bf9c535
Docs: add audit logging limitations
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a6bf9c53
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a6bf9c53
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a6bf9c53
Branch: refs/heads/trunk
Commit: a6bf9c535310c91a72648f08572db8574250eb6f
Parents: f56871b
Author: Stefan Podkowinski <s....@gmail.com>
Authored: Fri May 11 20:15:19 2018 +0200
Committer: Stefan Podkowinski <s....@gmail.com>
Committed: Fri May 11 20:15:19 2018 +0200
----------------------------------------------------------------------
doc/source/operating/audit_logging.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/a6bf9c53/doc/source/operating/audit_logging.rst
----------------------------------------------------------------------
diff --git a/doc/source/operating/audit_logging.rst b/doc/source/operating/audit_logging.rst
index 9be7a43..b073f1a 100644
--- a/doc/source/operating/audit_logging.rst
+++ b/doc/source/operating/audit_logging.rst
@@ -39,6 +39,11 @@ Audit logging captures following events
- All database commands executed via Native protocol (CQL) attempted or successfully executed.
+Limitations
+^^^^^^^^^^^
+
+Executing prepared statements will log the query as provided by the client in the prepare call, along with the execution time stamp and all other attributes (see below). Actual values bound for prepared statement execution will not show up in the audit log.
+
What does it log
^^^^^^^^^^^^^^^^^^^
Each audit log implementation has access to the following attributes, and for the default text based logger these fields are concatenated with `|` s to yield the final message.
@@ -70,7 +75,7 @@ cassandra.yaml configurations for AuditLog
- ``included_users``: Comma separated list of users to be included in audit log, default - includes all users
- ``excluded_users``: Comma separated list of users to be excluded from audit log, default - excludes no user
-
+
List of available categories are: QUERY, DML, DDL, DCL, OTHER, AUTH, ERROR, PREPARE
NodeTool command to enable AuditLog
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org