現象:
公司某個項目一天的日誌量很大,在查詢一天的日誌時,出現gateway timeout的問題,目前的排查方向
kibana做了代理,可能是nginx的代理那邊設置的連接時間較短,查詢時間較長,出現連接超時,這種情況,設置nginx的配置即可
#nginx沒有設置代理,以下參數是以秒爲單位
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
#nginx設置代理,更改代理配置
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
參考鏈接:https://www.cnblogs.com/alex-hrg/articles/9376178.html
現象:
同樣是查詢某一天的數據,kibana出現request timeout after 30000ms的問題