Error starting logstash version 8.4.1

logstash.conf has

input {
    stdin {}
}
output {
    elasticseatrch {
    hosts => ["localhost:9200"] 
    index => "testindex"
    }
}

though I dont know why anything is the way it is I copied it from a youtube video