How to Enable Security Audit (Log Only) in TiDB 4.0 Community Edition?

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TIDB4.0社区版如何开启安全审计(仅日志) 这个功能?

| username: TiDBer_oYZYSUFU

The image is not visible, please provide the text you need translated.

| username: Ti_shield | Original post link

Security Audit (Log Only): These are the operational logs of various components, which can be used to some extent for auditing purposes. If you need to implement more robust audit log functionality, please consider the security audit extension module.

| username: Kongdom | Original post link

audit: Query cluster operation audit logs

| username: tidb菜鸟一只 | Original post link

As far as I know, in the community edition, you can only enable tidb_general_log to record logs. I’m not aware of other auditing features; they should be available in the commercial edition.

| username: Kongdom | Original post link

I think what he mentioned should be the one I posted, the cluster operation log. After all, the command description is to query the operation audit log. :wink:

| username: zhanggame1 | Original post link

The community edition actually doesn’t have auditing features.

| username: redgame | Original post link

It refers to the logs.

| username: WalterWj | Original post link

The audit log plugin is only available in the enterprise version.

| username: Kongdom | Original post link

There isn’t any, the description is very clear, only logs :wink:

| username: Billmay表妹 | Original post link

The enterprise edition currently has this feature. If you are using the community edition, you can develop this feature yourself!

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.