Hi!
I am new to Kibana. I hope I am using all the terminology in the right way.
I am currently working on a Vega viz and I am getting a weird error message.
It comes when I do a search query to elastic API. It says:
statusCode 400
error "Bad Request"
message "Request must contain a kbn-xsrf header."
The above message is the response from Elasticsearch.
I tried adding a kbn-xsrf header in the API-query:
I found in the documentation that the kbn-xsrf must be set to true. But it didn’t do the trick.
Any help or pointer in the right direction would be greatly appreciated.
When I double-click on the file "_search" i get the following response from Firefox:
I believe that the file "_search" is where my data should be stored.
My other visualizations that don't rely on Vega are working.
Just to make matters even weirder i noticed the following:
I have a Vega-lite visualization that worked and suddenly stopped working.
I get the same error.
Now I see the error of my ways.
When I click the "Reponse" tab I see the actual JSON response.
And there I see the result that I am looking for. My API-request is working fine.
Thank you bhavyarm and aaron_nimocks for pointing me in the right direction.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.