Grok module issue in verify config

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Grok module issue in verify config

Post by rhassing »

When i verify the config of my logserver I get the following error:

{:timestamp=>"2021-01-20T06:26:00.338000+0100", :message=>"The given configuration is invalid. Reason: Couldn't find any input plugin named 'grok'. Are you sure this is correct? Trying to load the grok input plugin resulted in this error: no such file to load -- logstash/inputs/grok", :level=>:fatal}

If I check the loaded modules in logstash I can see that the module is loaded.

Best regards,
Rob Hassing
Rob Hassing
Image
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Grok module issue in verify config

Post by cdienger »

It sounds like you have a grok filter configured under the Inputs section of NLS. Double check the configuration and move the grok filter to the Filters section instead. Please share a copy of the input file which can be gathered under Configure > Global Config > View > Inputs File if this doesn't help resolve the problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Grok module issue in verify config

Post by rhassing »

You were so right. I have totaly missed that.
I entered a filter under the inputs.

Thank you very much.

Best regards,
Rob
Rob Hassing
Image
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Grok module issue in verify config

Post by cdienger »

Glad to help!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked