# Elasticserach cannot show indices

**URL:** <https://discuss.elastic.co/t/elasticserach-cannot-show-indices/318004>\
**Category:** Logstash\
**Created:** [November 2, 2022, 2:43pm UTC](https://discuss.elastic.co/t/elasticserach-cannot-show-indices/318004 "2022-11-02T14:43:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toughLuck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toughluck/32/99389_2.png) [@toughLuck](https://discuss.elastic.co/u/toughLuck)\
**Post date:** [November 2, 2022, 2:43pm UTC](https://discuss.elastic.co/t/elasticserach-cannot-show-indices/318004/1 "2022-11-02T14:43:51Z")

</div>

I am new to ELK, trying to set up a basic ELK following a youtube video, but cannot load the index to elasticsearch/

The logstash log

````auto
[2022-11-02T10:38:08,489][ERROR][logstash.outputs.elasticsearch][main][bef0a8230c929df77769be3dfbf20dce48598d4e7bd8a37256935ba06e0572dc] Can't map some events, needs to be handled by DLQ [["index", [], {"host"=>{"name"=>"Kai-KitdeMBP.localdomain"}, "message"=>"2022-11-02 10:38:07.705 INFO 29909 --- [http-nio-9999-exec-10] c.e.elkdemo.controller.ElkLogController : User found: User(id=1, name=someone)", "@timestamp"=>2022-11-02T14:38:08.302240Z, "@version"=>"1", "log"=>{"file"=>{"path"=>"/Users/kaikit/Documents/logs/elk-demo.log"}}, "event"=>{"original"=>"2022-11-02 10:38:07.705 INFO 29909 --- [http-nio-9999-exec-10] c.e.elkdemo.controller.ElkLogController : User found: User(id=1, name=someone)"}}]]
[2022-11-02T10:38:08,505][WARN][logstash.outputs.elasticsearch][main][bef0a8230c929df77769be3dfbf20dce48598d4e7bd8a37256935ba06e0572dc] Could not resolve dynamic index```

logstast.yml

````

output {  
elasticsearch {  
hosts =\> ["[https://localhost:9200](https://localhost:9200)"]  
index =\> "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"  
ssl =\> true  
ssl\_certificate\_verification =\> false  
}  
}```

---

<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 30, 2022, 2:43pm UTC](https://discuss.elastic.co/t/elasticserach-cannot-show-indices/318004/2 "2022-11-30T14:43:56Z")

</div>

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