Elasticsearch Gateway timeout 504
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
.
change the kibana.yml. add the line:
elasticsearch.requestTimeout: 90000 # default 30s