Nxlog BufferSize Keyword Error

I changed the buffersize from default (65000) to 512000 both in im_file & om_tcp modules but it give the following error. 

ERROR invalid keyword: BufferSize at C:\Program Files\nxlog\conf\nxlog.conf:56

image.png

 

0 5 398
5 REPLIES 5

Can you include snippet of the config file surrounding line 56 and 62? 

@srijankafle Attached Config screenshot

nxlog config.png

Hi @kaushalpatel ,

The keyword and placement looks fine. I remember one issue I faced when configuring NXLog that was due to BOM header that was not visible when configuring/copying config file. Linking it here your reference. https://stackoverflow.com/questions/49824989/nxlog-will-not-start-alienvault-config

I used sublime to set the encoding and remove the characters. If you have WSL or some other method to verify the same, please have a look. It did save ton of my time in past

What Version of nxlog are you using, community or enterprise?

BufferSize is a common option available exclusively for NXLog Enterprise Edition
Configuration | NXLog Docs