Reading from first

input {
file {
path => "/home/adanic/alternatives.log"
type => "log"
}
}
filter {
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "doc"
document_type => "%{type}"
}
}
it is my first config