# Trying to connect to elastic search in Microstrategy

**URL:** https://discuss.elastic.co/t/trying-to-connect-to-elastic-search-in-microstrategy/196274
**Category:** Elasticsearch
**Created:** [August 22, 2019, 8:41am UTC](https://discuss.elastic.co/t/trying-to-connect-to-elastic-search-in-microstrategy/196274 "2019-08-22T08:41:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![AKSHAY\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_r/32/45742_2.png) [@AKSHAY\_R](https://discuss.elastic.co/u/AKSHAY_R)
#### Post date: [August 22, 2019, 8:41am UTC](https://discuss.elastic.co/t/trying-to-connect-to-elastic-search-in-microstrategy/196274/1 "2019-08-22T08:41:42Z")

</div>

, though we followed all the steps mentioned in the document required to connect still getting an error "Unable to get Elastic search indices, unable to connect to host or CORS request was denied"  
We have updated the elasticsearch.yml file with the below configuration:

http.cors.enabled: true  
http.cors.allow-origin: "_"  
http.cors.allow-headers: "X-Requested-With, Content-Type, Content-Length, Authorization"  
http.cors.allow-methods: "_"  
http.cors.allow-credentials: true

This is new for us , could you help us here.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 19, 2019, 8:41am UTC](https://discuss.elastic.co/t/trying-to-connect-to-elastic-search-in-microstrategy/196274/2 "2019-09-19T08:41:50Z")

</div>

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