Can we change logger settings using API?

This is regarding audit logging of elasticsearch (7.6.1). We are using OpenDistro plugin
Is there a way through which one can change logger settings via API?

  1. If yes, what settings could be changed?
    We were able to change only ‘logger.level’ using API - Logging | Elasticsearch Guide [8.4] | Elastic

When we try to update the logger settings:
PUT /_cluster/settings
{
“transient”: {
“appender.rolling.policies.size.size”: “10MB”
}
}
We are getting this error:
“error” : {
“root_cause” : [
{
“type” : “illegal_argument_exception”,
“reason” : “transient setting [appender.rolling.policies.size.size], not recognized”
}
],
“type” : “illegal_argument_exception”,
“reason” : “transient setting [appender.rolling.policies.size.size], not recognized”
},
“status” : 400
}

@shiva there doesn’t seem to be such option available via API, all logging configuration would nee to be done via yaml files and restarting node.