# Logs are not ingesting to elasticsearch

**URL:** <https://discuss.elastic.co/t/logs-are-not-ingesting-to-elasticsearch/344355>\
**Category:** Elasticsearch\
**Created:** [October 4, 2023, 4:40am UTC](https://discuss.elastic.co/t/logs-are-not-ingesting-to-elasticsearch/344355 "2023-10-04T04:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_sirugudi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_sirugudi/32/94019_2.png) [@rahul\_sirugudi](https://discuss.elastic.co/u/rahul_sirugudi)\
**Post date:** [October 4, 2023, 4:40am UTC](https://discuss.elastic.co/t/logs-are-not-ingesting-to-elasticsearch/344355/1 "2023-10-04T04:40:27Z")

</div>

This was my set up earlier.  
filebeat =\> logstash (SQS-PUSH) =\> logstash (SQS-PULL) =\> elasticsearch.  
The above approach seems very costlier to us because of (SQS API) calls. Hence we replaced kafka (standalone).  
filebeat =\> kafka =\> logstash =\> elasticsearch

How ever with this new approach i am not sure what was causing the issue logs are not getting ingested, i can see messages in kafka and logstash outout but they are not getting ingested to elasticsearch. Not seeing any errors. Any suggestions where i have to take a look.?

I am using 100 partitions for the topic and below is my config.

```auto
input {
  kafka {
    bootstrap_servers => "IP:9092"
    topics => ["kafka"]
    codec => json
    consumer_threads => 100
}
}

```

---

<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:** [November 1, 2023, 4:40am UTC](https://discuss.elastic.co/t/logs-are-not-ingesting-to-elasticsearch/344355/2 "2023-11-01T04:40:57Z")

</div>

Closed on November 1, 2023, 4:40am UTC

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