# Logstash not responding at my container bering logstash and kibana image

**URL:** <https://discuss.elastic.co/t/logstash-not-responding-at-my-container-bering-logstash-and-kibana-image/354598>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [March 3, 2024, 5:28pm UTC](https://discuss.elastic.co/t/logstash-not-responding-at-my-container-bering-logstash-and-kibana-image/354598 "2024-03-03T17:28:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya\_rewari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditya_rewari/32/123474_2.png) [@aditya\_rewari](https://discuss.elastic.co/u/aditya_rewari)\
**Post date:** [March 3, 2024, 5:28pm UTC](https://discuss.elastic.co/t/logstash-not-responding-at-my-container-bering-logstash-and-kibana-image/354598/1 "2024-03-03T17:28:52Z")

</div>

I am doing a POC at elasticsearch Kibana where I am trying to register my GCS(Google Cloud Storage) for log archiving

For same I am attempting to have a container at `Docker Desktop` of `Elasticsearch` and `Kibana`

For this I am using the below docker compose file

```auto
services:
  elasticsearch:
    image: elasticsearch:8.12.0
    ports:
      - '9200:9200'
    environment:
      - discovery.type=single-node
    ulimits:
      memlock:
        soft: -1
        hard: -1
  kibana:
    image: kibana:8.12.0
    ports:
      - '5601:5601'

```

**Issue:**

My logstash is unresponsive at `http://localhost:9200/`. As per documentation I should have received a json response at this URL. Kindly suggest where I could be going wrong

I have got my Kibana up on the exposed port

But my logstash is not getting up.

 ![Screenshot from 2024-03-03 22-39-43](https://us1.discourse-cdn.com/elastic/original/3X/d/d/ddf2c9ced27b91636e006788ba650c1621f87450.png)

It is showing proper metrics though at Docker Desktop

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 3, 2024, 7:03pm UTC](https://discuss.elastic.co/t/logstash-not-responding-at-my-container-bering-logstash-and-kibana-image/354598/2 "2024-03-03T19:03:56Z")

</div>

Hi @aditya_rewari

A little confusing ...

1. Nothing in your compose is about logstash... just elasticsearch and kibana so it is unclear why you are asking about logstash

2. Your compose is not really valid as Elasticsearch 8.X will setup security automatically which you are not accounting for

3. You need to decide which way you want to run secured or not secured... it seems that you want to run not secured which you can ... but at your own risk.

4. You should really look at the official documents about running elasticsearch and kibana with docker compose...

> **[Install Elasticsearch with Docker | Elasticsearch Guide \[8.12\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.12/docker.html)**

**If you want to run Elasticsearch and Kibana with absolutely NO security here is a sample compose... run at your own risk and do not expose to network or internet.**

Here is a compose to run with no security

> <https://gist.github.com/bvader/cc76d1def44b95a76757fb0f4ed7ec45>

run with

`$ TAG=8.12.1 docker-compose -f ./es-kb-no-security-compose.yml up`

---

<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:** [March 31, 2024, 7:04pm UTC](https://discuss.elastic.co/t/logstash-not-responding-at-my-container-bering-logstash-and-kibana-image/354598/3 "2024-03-31T19:04:16Z")

</div>

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