Hi
i dont undestend where i wrong (.
on my server (Ubuntu) install ELK
logstash recive syslog and netflow messages from network devices - all work all right.
Install on some windows server Winlogbeat
use send log to elasticsearch direct - all work right
use send log to logstash - event can not send to ES
errors from LS - none.
LS config
input {
# netflow v9
udp {
type => "mtnfv9"
port => 9995
codec => netflow {
versions => [9]
}
}
#tcp syslog stream via 5140
tcp {
type => "mtsl"
port => 5141
}
#udp syslogs tream via 5140
udp {
type => "mtsl"
port => 5141
}
# windows eventlog from winlogbeats
beats {
type => msel
port => 5044
}
}
filter {
if [type] == "mtnfv9" { some filters}
else if [type] == "msel" {none filters}
else if [type] == "mtsl" {some filters}
}
output {
elasticsearch {
hosts => ["192.168.1.42"]
manage_template => false
index => "%{[@metadata][type]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
see packet thow tcpdump - packet sent and recive
plugin - logstash-input-beats - installed
Setting the type => msel on the beats input will not take effect because type is already set in the event sent by winlogbeat. See the beats input documentation here.
Andrey thank for your reply.
then i run update plugins - process freeze (
/opt/logstash# ./bin/logstash-plugin update logstash-input-beats
You are updating logstash-input-beats to a new version 3.0.3, which may not be compatible with 2.2.9. are you sure you want to proceed (Y/N)?
Y
Updating logstash-input-beats
Based on that warning, I'd say the version is incompatible and my suggestion of making sure you have the latest plugin version wasn't so good. I'd revert to a clean Logstash install.
You'll probably get better responses regarding the Logstash exception you encountered if you post in the Logstash category. Include your OS, Logstash version, config, and the exception when you post.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.