Charitra kocheri
Charitra kocheri

Reputation: 127

Can dse cassandra audit log enabled for a particular table?

I have enabled dse cassandra audit log by following this link.

But, the documentation explains about configuring audit log on a keyspace. I need to enable it on a single table inside a keyspace.

For ex: keyspace name : test, has table table1, table2. Audit should be enabled only on table1 not table2.

Upvotes: 0

Views: 365

Answers (1)

phact
phact

Reputation: 7305

No, the DSE Audit Log is only configurable at the keyspace level, not the table level.

This is done by using the included_keyspaces or excluded_keyspaces in your DSE yaml. This is the relevant link in the docs http://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/security/secAuditEnable.html?hl=included_keyspaces

The link you shared describes how to write audit out to a DSE table (rather than to a file), not how to audit a specific table.

Upvotes: 2

Related Questions