Filebeat-logstash issue

Sorry my bad

input {
beats {
port => 5044
ssl => false
}
}

output {
elasticsearch {
hosts => ["http://elk:9200"]
index => "logs-%{[host][name]}-%{IP}-%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
user => "elastic"
password => "mypassword"
}
}

I can not put the configuration with its indentation