# Logstash not sending logs to custom elasticsearch index

**URL:** <https://discuss.elastic.co/t/logstash-not-sending-logs-to-custom-elasticsearch-index/156288>\
**Category:** Logstash\
**Created:** [November 12, 2018, 12:34pm UTC](https://discuss.elastic.co/t/logstash-not-sending-logs-to-custom-elasticsearch-index/156288 "2018-11-12T12:34:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishtikhark](https://avatars.discourse-cdn.com/v4/letter/i/b5ac83/32.png) [@ishtikhark](https://discuss.elastic.co/u/ishtikhark)\
**Post date:** [November 12, 2018, 12:34pm UTC](https://discuss.elastic.co/t/logstash-not-sending-logs-to-custom-elasticsearch-index/156288/1 "2018-11-12T12:34:26Z")

</div>

Here is my filebeat.yml configuration file  
#=========================== Filebeat inputs =============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so

# you can use different inputs for various configurations.

# Below are the input specific configurations.

- type: log

and my logstash configuration file  
input {

beats {  
port =\> 5044  
}

}

output {  
elasticsearch {

```
  hosts => ["192.168.122.68:9200"]
  index => "message_logs"

```

}  
}  
~

---

<div class="post-metadata">

**Author:** ![ishtikhark](https://avatars.discourse-cdn.com/v4/letter/i/b5ac83/32.png) [@ishtikhark](https://discuss.elastic.co/u/ishtikhark)\
**Post date:** [November 12, 2018, 12:35pm UTC](https://discuss.elastic.co/t/logstash-not-sending-logs-to-custom-elasticsearch-index/156288/2 "2018-11-12T12:35:58Z")

</div>

pls. help

---

<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:** [December 10, 2018, 12:35pm UTC](https://discuss.elastic.co/t/logstash-not-sending-logs-to-custom-elasticsearch-index/156288/3 "2018-12-10T12:35:59Z")

</div>

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