Page 1 of 1

Elastic search from withing filter in Nagios Log Server

Posted: Wed Aug 02, 2017 7:19 am
by saleemthupsee
Hello,

I am using the elasticsearch plugin from within Nagios Log Server and I get the following error.

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

Is there something that i am missing ?

regards,
SAleem

Re: Elastic search from withing filter in Nagios Log Server

Posted: Wed Aug 02, 2017 8:40 am
by mcapra
What exactly are you trying to do with the elasticsearch plugin? I assume you are using the logstash-filter-elasticsearch plugin?

Can you share the configurations you are attempting to define, or specifically what you did to produce that error message?

Not all Logstash plugins are included with Nagios Log Server by default. You can install them like so:

Code: Select all

/usr/local/nagioslogserver/logstash/bin/plugin install logstash-filter-elasticsearch

Re: Elastic search from withing filter in Nagios Log Server

Posted: Wed Aug 02, 2017 12:49 pm
by tmcdonald
Thanks for the assist, @mcapra! OP, let us know if you need further assistance.

Re: Elastic search from withing filter in Nagios Log Server

Posted: Thu Aug 03, 2017 3:53 am
by saleemthupsee
Indeed mcpra, i found this in the logstash 1.5.1 version and attempting to execute that command from nagioslogserver. will keep you posted. I am having internet connexion issues from the nagioslogserver.

Saleem

Re: Elastic search from withing filter in Nagios Log Server

Posted: Thu Aug 03, 2017 7:27 am
by saleemthupsee
Thanks mcpra and moderator. Elasticsearch installed sucessfully and can be accessed from within the filter function.

cheers and thanks,
Saleem

Re: Elastic search from withing filter in Nagios Log Server

Posted: Thu Aug 03, 2017 7:34 am
by saleemthupsee
ps post can be closed if necessary.

regards,
Saleem

Re: Elastic search from withing filter in Nagios Log Server

Posted: Thu Aug 03, 2017 9:16 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!