logsearch / logsearch-boshrelease

A BOSH-scalable Elasticsearch+Logstash+Kibana release
http://www.logsearch.io
Apache License 2.0
57 stars 46 forks source link

Kibana v3.1.0 requests for .../_mapping/field/... fail with No 'Access-Control-Allow-Origin' error #41

Closed mrdavidlaing closed 10 years ago

mrdavidlaing commented 10 years ago

Trying to use the new Table / Stats button in Kibana v3.1.0 (eg, on this dashboard ) fails with:

XMLHttpRequest cannot load http://api.cityindex.logsearch.io/logstash-2014.06.09/_mapping/field/TotalMs. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://kibana-pr10.apps.cityindex.logsearch.io' is therefore not allowed access. 

screen shot 2014-06-09 at 11 42 33

The request causing this error is for:

http://api.cityindex.logsearch.io/logstash-2014.06.09,logstash-2014.06.08/_mapping/field/TotalMs
mrdavidlaing commented 10 years ago
http://api.cityindex.logsearch.io:9200/logstash-2014.06.09,logstash-2014.06.08/_mapping/field/TotalMs

Seems to work, so I think its a nginx proxy config setting