-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API request to Kibana not including kbn-xsrf header #70
Comments
hi @kjorg50 - I faced a very similar issue trying to run filebeat setup edited the file node_modules/amazon-elasticsearch-proxy/proxy.js the very definition of a hacky workaround but solved the problem |
Hi, Thanks for reporting this. Will release a fix soon. |
You can also use the header
However Kibana recommends to use Added the support for
|
* do not allow auto redirect to http client * Updates to README.md * Cross-compile new version * Updated docker instructions * Little fix to docker example * add basic auth support * fix version * Support AWS China ES domain name, and update to use Go 1.11 modules * add timeout * Updated link to Kibana Updated link to Kibana app * make timeout variable * Fix casting * - AWS Elasticsearch endpoint is no longer mandatory - Added more logging - Removed all of the annoying log.fatal() messages - Added option to redirect /_plugin/kibana to /_plugin/kibana/app/kibana this fixes blank pages when running newer versions of Kibana. * Implementing custom http.Client fixed Kibana blank page issue. Removed added hacks. * Run 'go mod tidy' for cleanup * Updated version * Update docker instructions * Updated Dockerfile and add CONTRIBUTORS file * Bump golang to v1.14 * Update README to go1.14 * Issue #70 - add the kbn-xsrf header * issue #71 - add env var support for endpoint argument * issue #71 - Update readme * Add IRSA support * Updated version number * cleanup dockerfile * updates * image update * fix build Co-authored-by: Taiki Sugawara <[email protected]> Co-authored-by: Muslim AbuTaha <[email protected]> Co-authored-by: Kamus Hadenes <[email protected]> Co-authored-by: Mike Wu <[email protected]> Co-authored-by: Mike Kadin <[email protected]> Co-authored-by: Rui Chen <[email protected]> Co-authored-by: saravanan30erd <[email protected]> Co-authored-by: Luke Addison <[email protected]>
Hi, I'm trying to make an API request similar to the one described in this answer about updating index patterns. My proxy is running on port 9200 and then I try something like this
However, I get this error
Even though that header is included in the request, I think it is not being passed through the proxy correctly. Can anyone help provide some insight here? Am I missing something?
The text was updated successfully, but these errors were encountered: