Open tomaszkrawczyk-dealsumm opened 4 months ago
Pinging @elastic/response-ops (Team:ResponseOps)
Pinging @elastic/kibana-core (Team:Core)
It looks to me like an eager task that is running even when there is no related data/use case for that task to be registered.
From the name of the task, endpoint:user-artifact-packager
, I'm going to ping Security Solutions.
Pinging @elastic/security-detection-engine (Team:Security Solution Platform)
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)
Kibana version: 7.10.2
Elasticsearch version: 7.10.2
Server OS version: Ubuntu 20.04.6 LTS
Original install method (e.g. download page, yum, from source, etc.): wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.2-amd64.deb wget https://artifacts.elastic.co/downloads/kibana/kibana-7.10.2-amd64.deb sudo dpkg -i elasticsearch-7.10.2-amd64.deb sudo dpkg -i kibana-7.10.2-amd64.deb
Describe the bug: Documents missing requests counter for .kibana_1 index increase steadily with rate ~1/min. Checked using
curl -sX GET "localhost:9200/_stats?pretty" | grep 'missing_total"'
stats endpoint.The current investigation showed that when we will disable the task manager by setting
xpack.task_manager.enabled: false
in kibana.yaml counter stops increasing. Kibana logs show:exactly in the moment when the counter increases.
Slowlog for .kibana_1 index shows only:
Task definition that is causing problems from
curl -X GET "http://localhost:9200/.kibana_task_manager_1/_search?pretty" -H "Content-Type: application/json"
:Expected behavior: Documents missing requests counter should not increase.
I could just disable task_manager but I don't want to do it till I am not sure what is causing the issues exactly.