Getting Bad Request with message Request must contain a kbn-xsrf header

Hi , i am new to Kiabana , and when trying to Login , i am getting :

{"statusCode":400,"error":"Bad Request","message":"Request must contain a kbn-xsrf header."}

Can anyone help ??

Because somewhere i read that :

Hi,

Kibana expects the header 'kbn-version' to be passed on requests, it's used to protect against xsrf attacks.
for ex:
adding -H kbn-version:x.x.x should get around that error.

I don't know , where to add this thing....

Hi @Geet,

I have a couple of questions to help me better understand your problem:

  1. What version of Kibana are you running?
  2. How is Kibana installed and hosted?
  3. Can you provide your kibana.yml configuration? Omit any sensitive data, like passwords and encryption keys.
  4. Is there a proxy in front of Kibana that you are using? If so, can you also post your proxy configuration?

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