smiklosovic commented on a change in pull request #1043:
URL: https://github.com/apache/cassandra/pull/1043#discussion_r648987763
##########
File path: doc/source/new/auditlogging.rst
##########
@@ -450,37 +451,45 @@ The ``auditlogviewer`` tool is used to dump audit logs.
Run the ``auditlogviewer
[ec2-user@ip-10-0-2-238 hourly]$ auditlogviewer /cassandra/audit/logs/hourly
WARN 03:12:11,124 Using Pauser.sleepy() as not enough processors, have 2,
needs 8+
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564711427328|type
:USE_KEYSPACE|category:OTHER|ks:auditlogkeyspace|operation:USE
AuditLogKeyspace;
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564711427329|type
:USE_KEYSPACE|category:OTHER|ks:auditlogkeyspace|operation:USE
"auditlogkeyspace"
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564711446279|type
:SELECT|category:QUERY|ks:auditlogkeyspace|scope:t|operation:SELECT * FROM t;
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564713878834|type
:DROP_TABLE|category:DDL|ks:auditlogkeyspace|scope:t|operation:DROP TABLE IF
EXISTS
- AuditLogKeyspace.t;
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/3.91.56.164|port:42382|timestamp:1564714618360|ty
- pe:REQUEST_FAILURE|category:ERROR|operation:CREATE KEYSPACE AuditLogKeyspace
- WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 1};;
Cannot add
- existing keyspace "auditlogkeyspace"
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564714690968|type
:DROP_KEYSPACE|category:DDL|ks:auditlogkeyspace|operation:DROP KEYSPACE
AuditLogKeyspace;
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/3.91.56.164|port:42406|timestamp:1564714708329|ty
pe:CREATE_KEYSPACE|category:DDL|ks:auditlogkeyspace|operation:CREATE KEYSPACE
- AuditLogKeyspace
- WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 1};
- Type: AuditLog
- LogMessage:
-
user:anonymous|host:10.0.2.238:7000|source:/127.0.0.1|port:46264|timestamp:1564714870678|type
:USE_KEYSPACE|category:OTHER|ks:auditlogkeyspace|operation:USE
auditlogkeyspace;
- [ec2-user@ip-10-0-2-238 hourly]$
+ Type: audit
Review comment:
hi @ekaterinadimitrova2 , it was never AuditLog (or was but it is not
anymore), what I see from logs now is that it is "audit"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]