Logstash erreur d'exécution

It seems like you added multiple input configs, instead
input{
generator { message => 'hi' count => 10 }
file{....}
}

it should be like above but not like
input{
input {generator { message => 'hi' count => 10 }}
file{....}
}

or try this config

input { generator { message => 'hi' count => 10 } }

filter {

}

output {
stdout {codec=>rubydebug }
elasticsearch{
index => "apache"
}
}

the index it has been create



but what about the file (path) and what is the problem ?

Because your logstash is unable to read that file.

Check file path, permissions
After starting logstash, try adding some lines to your log file.


the same problem

Your elasticsearch node is down, bring it up

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