Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Increase the timeout for a get request in kibana devconsole

i am using elk 7.1.1 with x-pack installed.

I am trying to perform a get command in kibana dev console to get the list of all snapshots

GET _cat/snapshots/<myrepositoryname>/

output

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

and i also tried

 GET _cat/snapshots/<myrepositoryname>/?waitforcompletion=true 

But its not working.Please help me solve it.

like image 661
Vamsi Krishna Avatar asked Dec 15 '25 15:12

Vamsi Krishna


1 Answers

Old Questions but maybe its helps others. To increase timout you can set the timout parameter as query parameter like:

POST my_index/_search?timeout=9000s

The s is for seconds. You can use other time shortcuts as well.

like image 82
mstrewe Avatar answered Dec 19 '25 06:12

mstrewe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!