Classic CORS error - maybe * is blocked by ES. Haven't had to deal with
this myself (yet) so can't help you here. All in all just a small rough
edge to smooth, not a clusterfuck.

A quick solution would be to install K3 as a site plugin and use it
internally (don't expose it to the web)

--

Itamar Syn-Hershko
http://code972.com | @synhershko <https://twitter.com/synhershko>
Freelance Developer & Consultant
Author of RavenDB in Action <http://manning.com/synhershko/>

On Thu, Dec 4, 2014 at 3:20 AM, Jack Judge <[email protected]> wrote:

> Well you're right there's JS errors, CORS related;
>
> XMLHttpRequest cannot load
> http://10.5.41.120:9200/logstash-2014.12.04/_search. Request header field
> Content-Type is not allowed by Access-Control-Allow-Headers.
>
> In my elasticsearch.yml I've got this on all nodes,
>
> http.cors.allow-origin: "/.*/"
> http.cors.enabled: true
>
> Which google leads me to believe should open it up for anything. K3 is
> fronted by apache and a bit more googling prompted me to add this to the
> <Directory> section of httpd.conf
>
> Header set Access-Control-Allow-Origin "*"
>
> Still getting the same errors :(
> I'm at a loss to know what else to do now.
>
>
>
> On Wednesday, 3 December 2014 15:48:28 UTC-8, Itamar Syn-Hershko wrote:
>>
>> I'm not aware of compat issues with K3 and ES 1.4 other than
>> https://github.com/elasticsearch/kibana/issues/1637 . I'd check for
>> javascript errors, and try to see what's going on under the hood, really.
>> When you have more data about this, you can either quickly resolve, or open
>> a concrete bug :)
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/19d57d39-b764-493c-bd60-c8ae3aff087a%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/19d57d39-b764-493c-bd60-c8ae3aff087a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZsXoVG%3DqYm8_0RC0H1%3DtWQfBtXhOScv6bjwKN9winF4cQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to