# Connecting to elasticsearch from external application

**URL:** <https://community.graylog.org/t/connecting-to-elasticsearch-from-external-application/31869>\
**Category:** Graylog Central (peer support)\
**Created:** [March 20, 2024, 3:00pm UTC](https://community.graylog.org/t/connecting-to-elasticsearch-from-external-application/31869 "2024-03-20T15:00:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elaztic](https://avatars.discourse-cdn.com/v4/letter/e/3e96dc/32.png) [@elaztic](https://community.graylog.org/u/elaztic)\
**Post date:** [March 20, 2024, 3:00pm UTC](https://community.graylog.org/t/connecting-to-elasticsearch-from-external-application/31869/1 "2024-03-20T15:00:33Z")

</div>

**1. Describe your incident:**  
I’m attempting to figure out if it’s possible to query the elasticsearch instance that runs on the datanode from outside of Graylog. I can hit it, but cannot auth to it and I’m unsure where it gets it’s username/password. I’ve tried the admin/root/default sorts of passwords that I have for Graylog and nothing works.

**2. Describe your environment:**

- OS Information: Docker running on Debain 10

- Package Version: 5.2

- Service logs, configurations, and environment variables:  
N/A

**3. What steps have you already taken to try and solve the problem?**

- Used all the passwords/usernames that I know of against my instance @ port 9200.
- Searched the docs for elastic password setup.

**4. How can the community help?**

- Let me know if this is a supported usage and how I can find the auth info for the elastic instance.

---

<div class="post-metadata">

**Author:** ![Joel\_Duffield](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Joel\_Duffield](https://community.graylog.org/u/Joel_Duffield)\
**Post date:** [March 20, 2024, 3:20pm UTC](https://community.graylog.org/t/connecting-to-elasticsearch-from-external-application/31869/2 "2024-03-20T15:20:03Z")

</div>

No not currently, there will be a way to do it for certain uses cases in 6.0.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [April 3, 2024, 3:20pm UTC](https://community.graylog.org/t/connecting-to-elasticsearch-from-external-application/31869/3 "2024-04-03T15:20:04Z")

</div>

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