Skip to main content

Nxlog BufferSize Keyword Error

  • January 5, 2024
  • 5 replies
  • 10 views

kaushalpatel
Forum|alt.badge.img+5

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

 

5 replies

Forum|alt.badge.img+5
  • Bronze 2
  • January 9, 2024

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


kaushalpatel
Forum|alt.badge.img+5
  • Author
  • New Member
  • January 9, 2024

@srijankafle Attached Config screenshot


Forum|alt.badge.img+5
  • Bronze 2
  • January 9, 2024

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


Forum|alt.badge.img+2
  • New Member
  • January 24, 2024

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


Forum|alt.badge.img
  • New Member
  • January 31, 2024

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