# Grafana viewer to see logs from graylog tha use elasticsearch and mongodb

**URL:** <https://community.grafana.com/t/grafana-viewer-to-see-logs-from-graylog-tha-use-elasticsearch-and-mongodb/84804>\
**Category:** Installation\
**Tags:** plugins\
**Created:** [March 30, 2023, 7:00am UTC](https://community.grafana.com/t/grafana-viewer-to-see-logs-from-graylog-tha-use-elasticsearch-and-mongodb/84804 "2023-03-30T07:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgutie2022](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jgutie2022](https://community.grafana.com/u/jgutie2022)\
**Post date:** [March 30, 2023, 7:00am UTC](https://community.grafana.com/t/grafana-viewer-to-see-logs-from-graylog-tha-use-elasticsearch-and-mongodb/84804/1 "2023-03-30T07:00:31Z")

</div>

- What Grafana version and what operating system are you using?  
grafana 8.5.21 DEBIAN11 BULLEYE

- **What** are you trying to achieve?  
I am trying to conecto with another machine to see logs with graylog tha use mongoDB and elasticsearch

- **How** are you trying to achieve it? I am only try to see the logs to make dashboards.

- What happened?  
I can´t connect to Elasticsearch or mongodb

- What did you **expect** to happen? I expect connect to elasticsearch or mongodb.

- Can you copy/paste the configuration(s) that you are having problems with?  
The configuration is the standard.

- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us **exactly** what they were.  
I cant connect with elasticsearch or mongodb.

- Did you follow any online instructions? If so, what is the URL?  
NO.

My question is , have I install the grafana server in the same machine that graylog to connect elasticsearch or mongodb?

Best regards.
