Logstash is not populating custom index

Hi all,
I have a problem when I try to populate custom index.

First, I create index using following syntax:
PUT testIndex
"mappings": {
"txs": {
"properties": {
"date": {
"type": "date",
"format": "dd-MM-yyyy"
"procedure": {
"type": "text"

And after that I add new index in Kibana using "Create index pattern".

Output plugin looks like this:

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "testIndex"

And then when I start logstash, it happens nothing. Index is not populated, but I cannot see any error.
But when I delete index I've created and run logstash again, it seems that logstash is creating new index named "testIndex" with default field types and populating it.

I'm pretty much confused right now.

Thanks in advance!

Check your Logstash logs. Index names in Elasticsearch must be lowercased, so try lowercasing yours and see if that makes a difference.

Lowercasing index name helped.

Thank you!

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