# Logstash not sending the logs to elk and kibana

**URL:** https://discuss.elastic.co/t/logstash-not-sending-the-logs-to-elk-and-kibana/264357
**Category:** Logstash
**Tags:** docker
**Created:** [February 15, 2021, 7:55pm UTC](https://discuss.elastic.co/t/logstash-not-sending-the-logs-to-elk-and-kibana/264357 "2021-02-15T19:55:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tugsan\_Tuncer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tugsan_tuncer/32/83946_2.png) [@Tugsan\_Tuncer](https://discuss.elastic.co/u/Tugsan_Tuncer)
#### Post date: [February 15, 2021, 7:55pm UTC](https://discuss.elastic.co/t/logstash-not-sending-the-logs-to-elk-and-kibana/264357/1 "2021-02-15T19:55:40Z")

</div>

Hİ all,

i am trying configure filebeats send the logs to kibana but I was not successful.my setup is on kubernetes. I tried In My Spring Boot Project.Please help me

logstash.conf:

```
input {
	beats {
		port => 5000
		type => log
	}
}

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
		manage_template => false
	}
}

```

filebeats.yaml

```
filebeat:
  prospectors:
    -
      paths:
        - /logs/*.log"
      input_type: log

output:
  logstash:
    hosts: ["logstash:5000"]
  console:
    pretty: true

shipper:

logging:
  to_files: true
  files:
    path: /etc/filebeat/logs
    name: mybeat
    rotateeverybytes: 10485760 # = 10MB

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c4232068127ee37155dfc8486b64465381348ad7.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e8db41299caa7c3c2a2b3da325d2054e912a1ebe.png)

---

<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 15, 2021, 7:56pm UTC](https://discuss.elastic.co/t/logstash-not-sending-the-logs-to-elk-and-kibana/264357/2 "2021-03-15T19:56:33Z")

</div>

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