Logging information: https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html
We are trying to change the following logger through API provided above:
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 256MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 5
When we try to update the logger 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
}
How can we change these setting through APIs?