Skip to main content

Nxlog BufferSize Keyword Error

  • Jan 5, 2024 8:44 PM UTC
  • 5 replies
  • 61 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
  • Jan 9, 2024 2:18 AM UTC

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


kaushalpatel
Forum|alt.badge.img+5
  • Author
  • New Member
  • Jan 9, 2024 5:07 AM UTC

@srijankafle Attached Config screenshot

 


Forum|alt.badge.img+5
  • Bronze 2
  • Jan 9, 2024 7:35 AM UTC

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
  • Jan 24, 2024 9:45 AM UTC

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


Forum|alt.badge.img
  • New Member
  • Jan 31, 2024 7:14 AM UTC

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