Exclude categories from audit log

hi, I saw on the documentation that I can exclude categories:

plugins.security.audit.config.disabled_rest_categories: AUTHENTICATED, opensearch_SECURITY_INDEX_ATTEMPT
plugins.security.audit.config.disabled_transport_categories: GRANTED_PRIVILEGES

I tried this but it’s not working, do I need to use the old format with opendistro_?
(im using version 2.4.0)

@taltsafrir Have you tried using OpenSearch Dashboards?

hi, yes I used opensearch dashboards to change the settings, but I dont want to change them manually

@taltsafrir What do you mean by “manually”?
Did Audit configuration through OpenSearch Dashboards work for you?

I want to change this parameter with opensearch.yml
through opensearch dashboards it worked