# Fail to pass data from logstash to ES

**URL:** https://discuss.elastic.co/t/fail-to-pass-data-from-logstash-to-es/259424
**Category:** Elasticsearch
**Created:** [December 22, 2020, 8:43pm UTC](https://discuss.elastic.co/t/fail-to-pass-data-from-logstash-to-es/259424 "2020-12-22T20:43:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![azteker](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@azteker](https://discuss.elastic.co/u/azteker)
#### Post date: [December 22, 2020, 8:43pm UTC](https://discuss.elastic.co/t/fail-to-pass-data-from-logstash-to-es/259424/1 "2020-12-22T20:43:10Z")

</div>

The output conf in the logstash conf file is

```auto
output {
    elasticsearch {
      hosts => ["10.28.1.17:9200"]
      index => "event-%{+YYYY.MM.dd}"
    }
}

```

I run the logstash in CLI with output as `stdout {codec => rubydebug }`  
I can see the log printed.  
I have another conf file for a different source, it can pass logs to ES with the same output configure.  
When I run logstash in CLI, I don't see any error logs, but just no new data in ES.  
What can be the cause?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [December 22, 2020, 11:59pm UTC](https://discuss.elastic.co/t/fail-to-pass-data-from-logstash-to-es/259424/2 "2020-12-22T23:59:29Z")

</div>

What is the rest of your Logstash config?

---

<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: [January 19, 2021, 11:59pm UTC](https://discuss.elastic.co/t/fail-to-pass-data-from-logstash-to-es/259424/3 "2021-01-19T23:59:35Z")

</div>

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