Nxlog with Graylog

Tags:

#1 Sateesh.Huvinahalli

Hi,

I have configured nxlog with Graylog2, i am seeing below warning in nxlog.log, wat could be the issue 2018-07-03 11:34:03 WARNING string limit (1048576) exceeded while trying to append 2018-07-03 11:41:37 INFO inode changed for '/var/log/Store/Store.log' (96469298->96469281): reopening possibly rotated file 2018-07-03 12:03:22 INFO inode changed for '/var/log/Store/Store.log' (96469281->96469298): reopening possibly rotated file

#2 Zhengshi Nxlog ✓
#1 Sateesh.Huvinahalli
Hi, I have configured nxlog with Graylog2, i am seeing below warning in nxlog.log, wat could be the issue 2018-07-03 11:34:03 WARNING string limit (1048576) exceeded while trying to append 2018-07-03 11:41:37 INFO inode changed for '/var/log/Store/Store.log' (96469298->96469281): reopening possibly rotated file 2018-07-03 12:03:22 INFO inode changed for '/var/log/Store/Store.log' (96469281->96469298): reopening possibly rotated file

What you are running into is a limitation of the CE product. There is a limit of 1M strings in CE. EE has no such limitation and can be adjusted.
From the CE Reference Manual:

Strings have a limited length to prevent resource exhaustion problems, this is a compile-time value currently set to 1M.