Hi, I am trying to collect Windows event logs through logstash, but it's giving me an error as,
10:19:40.614 [LogStash::Runner] ERROR logstash.agent - Cannot load an invalid configuration {:reason=>"Couldn't find any input plugin named 'eventlog'. Are you sure this is correct? Trying to load the
eventlog input plugin resulted in this error: Problems loading the requested plugin named eventlog of type input. Error: NameError NameError"}
And also I have read that Winlogbeat is the best method to capture Windows Event logs. Can you please suggest what to use? Here is the config I am using. Any help is highly appreciated.
input{
eventlog {
type => 'Win32-EventLog'
logfile => 'System'
}
}
output{
stdout {
codec=>rubydebug
}
}