# ODBC Connection to Elasticsearch v6.8

**URL:** <https://discuss.elastic.co/t/odbc-connection-to-elasticsearch-v6-8/238094>\
**Category:** Elasticsearch\
**Created:** [June 22, 2020, 1:38pm UTC](https://discuss.elastic.co/t/odbc-connection-to-elasticsearch-v6-8/238094 "2020-06-22T13:38:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garry](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@Garry](https://discuss.elastic.co/u/Garry)\
**Post date:** [June 22, 2020, 1:38pm UTC](https://discuss.elastic.co/t/odbc-connection-to-elasticsearch-v6-8/238094/1 "2020-06-22T13:38:41Z")

</div>

I am looking to connect to Elasticsearch in AWS via odbc, but get the following error...  
connection failed: [Elastic][EsODBC 6.8(c0ace37 +,u,r) Driver]{"Message":"Your Request: '/\_xpack/sql' is not allowed."}

Where can I allow this?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 22, 2020, 3:15pm UTC](https://discuss.elastic.co/t/odbc-connection-to-elasticsearch-v6-8/238094/2 "2020-06-22T15:15:17Z")

</div>

Have a look at [Elastic Cloud: Hosted Elasticsearch, Hosted Search | Elastic](https://www.elastic.co/cloud) and [AWS Marketplace: Elastic Cloud (Elasticsearch Service)](https://aws.amazon.com/marketplace/pp/B01N6YCISK).

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI, SIEM, Maps UI, AppSearch and what is coming next 🙂 ...

> [@Garry](#):
>
> I am looking to connect to Elasticsearch in AWS

I'm afraid you can't use this feature when running this service. But may be ask AWS support?

---

<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:** [July 20, 2020, 3:15pm UTC](https://discuss.elastic.co/t/odbc-connection-to-elasticsearch-v6-8/238094/3 "2020-07-20T15:15:18Z")

</div>

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