# Some logs are not displayed in the index

**URL:** <https://discuss.elastic.co/t/some-logs-are-not-displayed-in-the-index/369037>\
**Category:** Elasticsearch\
**Created:** [October 18, 2024, 6:30am UTC](https://discuss.elastic.co/t/some-logs-are-not-displayed-in-the-index/369037 "2024-10-18T06:30:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladimir\_Fomin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vladimir_fomin1/32/131270_2.png) [@Vladimir\_Fomin1](https://discuss.elastic.co/u/Vladimir_Fomin1)\
**Post date:** [October 18, 2024, 6:30am UTC](https://discuss.elastic.co/t/some-logs-are-not-displayed-in-the-index/369037/1 "2024-10-18T06:30:53Z")

</div>

Logs come to Logstash, are parsed there and then sent to Elasticsearch in index **cnv-tariffication-service-%{+YYYY.MM.dd}.**  
But I don't see all the necessary logs in the index, only a part of them.  
I'm also testing a way to fetch logs from the same application via kafka.  
But the log data is not visible in the c **nv-tariffication-service-%{+YYYYY.MM.dd}** index at all, but when I create a new index [**cnv-_kafka_-tariffication-service-%{+YYYY.MM.dd}** for instance], I can see it there.  
What is the problem?  
Maybe something wrong with mapping, mut I don't get how debug this moment.

```auto
if [type] == "cnv-tariffication-kafka" {
        elasticsearch {
            hosts => ["172.16.104.130:9200"]
            user => "logstash"
            password => "logstash"
            index => "cnv- **kafka** -tariffication-service-%{+YYYY.MM.dd}"
        }
        }

```

```auto
if [type] == "cnv-tariffication-kafka" {
        elasticsearch {
            hosts => ["172.16.104.130:9200"]
            user => "logstash"
            password => "logstash"
            index => "cnv-tariffication-service-%{+YYYY.MM.dd}"
        }
        }

```
