Open Sunde93 opened 8 years ago
which version of logstash is this? are you using the tgz, zip, dep or rpm? which operating system?
Logstash 2.3.4 installed by the tgz on CentOS 6.5
can you also post the config? thanks
Here :
input { beats { port => 5044 } }
output {
elasticsearch {
hosts => "
Thanks for ur time.
This is strange, works well for me:
/tmp % tar -zxf ~/Downloads/logstash-2.3.4.tar.gz
/tmp % cd logstash-2.3.4
/tmp/logstash-2.3.4 % cat config
input {
beats {
port => 5044
}
}
output {
elasticsearch {
hosts => "localhost:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
/tmp/logstash-2.3.4 % bin/logstash -f config
Settings: Default pipeline workers: 4
Pipeline main started
can you try unpacking the tgz again?
Stange but it's working now, after unpacking the tgz again. Perhaps, it was because i installed the beats plugin while it was already on the tgz.. Dunno.
Thanks u :)
Hmm, i got a new isssue :
When i start logstash with service logstash start, the issue is still here : "The error reported is: \n Couldn't find any input plugin named 'beats'. Are you sure this is correct? Trying to load the beats input plugin resulted in this error: no such file to load -- logstash/inputs/beats"} ^C "
But when i execute this, it's work... : $ ./bin/logstash -f conf/20-beats.conf Settings: Default pipeline workers: 4 Pipeline main started
Why ?
Hello,
I tried to install filebeat to send my logs to logstash but the beats plugins for logstash is on error when i strat logstash :
Couldn't find any input plugin named 'beats'. Are you sure this is correct? Trying to load the beats input plugin resulted in this error: no such file to load -- logstash/inputs/beats"}
I don't understand why i'm getting this issue, i just installed this plugin following the official guide..