logstash-plugins / logstash-output-riemann

Apache License 2.0
5 stars 13 forks source link

Error- couldn't find any output plugin named riemann #10

Closed Rajeshkumar123 closed 9 years ago

Rajeshkumar123 commented 9 years ago

I have installed logstash-output-riemann plugin normally in my logstash. I followed the same installation process which I did to install other plugins(gem). I have checked the gem folder of my logstash , I can see the logstash-output-riemann folder with corresponding files. I am facing this issue in my Linux box, it was working fine in windows machine.

My config will looks like below: input { courier { port => 10544 transport=>"tcp"

}

}

filter{ ... ... } output{ if [type] == "error" { riemann{ host=>localhost riemann_event => { "service"=> "system_log"
"description"=> "%{name.systemName}" "metric" => "%{metric}" "ttl" => "%{ttl}"
}
} }

I am getting below error,

Couldn't find any output plugin named 'riemann'. Are you sure this is correct? Trying to load the riemann output plugin resulted in this error: no such file to load -- logstash/outputs/riemann

jhitze commented 9 years ago

Are you sure you did this correctly? I just did it and it worked fine.

/opt/logstash$ sudo bin/plugin install logstash-output-riemann
Validating logstash-output-riemann
Installing logstash-output-riemann
Installation successful
Rajeshkumar123 commented 9 years ago

I have installed the latest version in logstash 1.5.4 and the issue was resolved.