Here is the log that constantly flashes in kibana
[10:48:55:560] [info][plugins][ReadonlyREST][preElasticsearchProxy] Could not forward all whitelisted headers, left out: x-forwarded-for,x-passed-nginx
{"type":"response","@timestamp":"2022-05-20T10:48:55+00:00","tags":["access:apm"],"pid":22490,"method":"post","statusCode":200,"req":{"url":"/api/apm/settings/agent-configuration/search","method":"post","headers":{"x-forwarded-for":"10.10.10.250","x-passed-nginx":"true","host":"kibana","user-agent":"Go-http-client/1.1","accept":"application/json","content-type":"application/json","kbn-xsrf":"1","accept-encoding":"gzip","connection":"close","x-ror-pkp-kibana-token":"uhwzarro7p7mr3iqblymyqyys5hfun","content-length":"90","accept-charset":"utf-8"},"remoteAddress":"127.0.0.1","userAgent":"Go-http-client/1.1"},"res":{"statusCode":200,"responseTime":16,"contentLength":252},"message":"POST /api/apm/settings/agent-configuration/search 200 16ms - 252.0B"}
[10:48:55:701] [info][plugins][ReadonlyREST][preElasticsearchProxy] Could not forward all whitelisted headers, left out: x-forwarded-for,x-passed-nginx
[10:48:56:035] [info][plugins][ReadonlyREST][authController] Refreshing session against ES
[10:48:56:083] [info][plugins][ReadonlyREST][tenantIndexBasedOnTemplateApplier] Template index not defined. Returning
The problem is reproduced even when you go to kibana directly.
I think the problem is errors.
But I still don’t know how to fix them.
There are 3 kibana in the cluster.
Each kibana is behind nginx.