Elasticserach cannot show indices

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

[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"]
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
ssl => true
ssl_certificate_verification => false
}
}```

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