Using Kibana generated POST URL to generate CSV fails -


We are using Kibana 7.3.0

Trying to download CSV from a Discover query. After running and Saving the query, I go to Share -> CSV Reports -> Copy POST URL and get the following URL:


When I put this in a browser, I get the following error:

{"statusCode":405,"error":"Method Not Allowed","message":"GET is not allowed"}

and do not get the CSV downloaded.

Oddly there is no GET nor POST command in the URL either

I am trying to use this URL method b/c the Generate CSV choice is not working either and have logged a separate topic for that.

Any help will be greatly appreciated.

Thanks - Mike

The "commands" (also called HTTP methods) refer to and They are not part of the URL. If you paste a URL in a browser address bar, it will always issue a GET request. To create a post request, you could for example use the curl command line tool as explained here:

However if Generate CSV isn't working for you then it's very unlikely that this will change something because it is triggering the same process behind the scenes - issuing this POST request is basically another way of clicking the "Generate CSV" button.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.