Logstash 6.0.0: Unknown setting 'index_type' for elasticsearch

I'm trying to run logstash config files on ELK 6.0.0 docker image but I got this error:
Unknown setting 'index_type' for elasticsearch

I am retrieving Spark streaming stats and send it to elasticsearch, but even this simple task returns an error. Here is my code:

input {
graphite {
codec => "json"
port => 10513
host => "0.0.0.0"
}
}

output {
#stdout { codec => "json" }
elasticsearch {
codec => "json"
hosts => "localhost"
index => "spark-%{+YYYY.MM.DD}"
index_type => "spark"
}
}

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