Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch Gateway timeout 504

I updated some indices mapping to simply add a keyword field to a text property and reloaded Kibana's index patterns. I was told I should run this command at the end:

POST 11ad.pi.prod.test-case-18/_update_by_query?conflicts=proceed

after doing it I get an error:

{
"statusCode": 504,
"error": "Gateway Time-out",
"message": "Client request timeout"
}

does it mean the timeout is too short? how can it be changed?

like image 927
Yonatan Nir Avatar asked Aug 21 '18 14:08

Yonatan Nir


1 Answers

It's normal if your index has a substantial size. You don't need to see any timeout, the task is still ongoing in the background.

You can check the status of the update by query task by running GET _tasks?actions=*byquery&detailed.

like image 52
Val Avatar answered Sep 27 '22 20:09

Val