# Writing data in ES from databricks

**URL:** <https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073>\
**Category:** Elasticsearch\
**Created:** [April 8, 2020, 7:51am UTC](https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073 "2020-04-08T07:51:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dadadima](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadadima/32/62175_2.png) [@dadadima](https://discuss.elastic.co/u/dadadima)\
**Post date:** [April 8, 2020, 7:51am UTC](https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073/1 "2020-04-08T07:51:31Z")

</div>

I am trying to write data into ES from databricks.  
This is the [official documentation](https://docs.databricks.com/data/data-sources/elasticsearch.html). As you can see it uses the [ES hadoop package](https://www.elastic.co/downloads/hadoop). I have correctly installed the jar for spark into databricks and now I need to pass some parameters in order to establish the connection with Elasticsearch. The things I need are, as reported by the documentation:

> **Important:** In the following cells, replace `<ip-address>` and `<port>` with your Elasticsearch configuration and `<my>` with your Elasticsearch URL.

I know what the Ip address and the port are, but I do not get what is the Elasticsearch URL, could someone explain it to me?

---

<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:** [May 6, 2020, 7:54am UTC](https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073/2 "2020-05-06T07:54:04Z")

</div>

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