Skip to content
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

Not able to PUT to ES #20

Open
JeroenVdb opened this issue Nov 27, 2014 · 0 comments
Open

Not able to PUT to ES #20

JeroenVdb opened this issue Nov 27, 2014 · 0 comments

Comments

@JeroenVdb
Copy link

I installed Grafana and ES. Both in a Docker.

When I try to save a Grafana dashboard I get this error in Chrome:


XMLHttpRequest cannot load http://192.168.59.103:9200/grafana-dash/dashboard/grafana. Method PUT is not allowed by Access-Control-Allow-Methods.

I added these configs to my elasticsearch.yml

http.cors.allow-origin: "*"
http.cors.allow-methods: "OPTIONS, HEAD, GET, POST, PUT, DELETE"

Someone has any idea what I'm doing wrong? My apache where Grafana is running should also have correct headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant