I am building the following environment on a local server.
・ Kibana: 8.3.2
・ Elsticsearch: 8.3.2 (Basic license)
When I started the above two services with systemd, it started without any problem, but when I checked the log, the following error was written in kibana.log.
{
"ecs": {
"version": "8.0.0"
},
"@timestamp": "2022-07-25T16:07:58.076+09:00",
"message": "Task ML:saved-objects-sync \"ML:saved-objects-sync-task\" failed: ResponseError: {\"error\":\"Incorrect HTTP method for uri [/_ml/anomaly_detectors] and method [GET], allowed: [POST]\",\"status\":405}",
"log": {
"level": "ERROR",
"logger": "plugins.taskManager"
},
"process": {
"pid": 2685
},
"trace": {
"id": "0f337104bf927519d50fedbb3a4a5730"
},
"transaction": {
"id": "095d566b7aef7f77"
}
}
The above log is generated every hour because it is due to a task executed on the kibana server side.
I also think this task is related to machine learning.
However, elasticsearch.yml on the Elasticsearch server to which kibana is connected has the following settings.
xpack.ml.enabled: false
For this reason, elasticsearch does not accept APIs related to machine learning, so we expect the above logs to occur.
In Kibana of v7.14 that I used before, the above log did not occur.
Please tell me how to resolve this error.