Nxlog for graylog

Tags:

#1 Symbol.Chimere

Hi, i have recently setup graylog and i'm using nxlog as my collector, everything seems to be working fine except nxlog is not sending logs to the graylog server, i have checked nxlog logs and this is the error 2019-04-16 11:51:08 ERROR failed to open C:\Users\s.chimere\Desktop\GRAYLOG; Access is denied

C:\Users\s.chimere\Desktop\GRAYLOG this is where i have my test logs

Please can anyone help.

#2 Zhengshi Nxlog ✓
#1 Symbol.Chimere
Hi, i have recently setup graylog and i'm using nxlog as my collector, everything seems to be working fine except nxlog is not sending logs to the graylog server, i have checked nxlog logs and this is the error 2019-04-16 11:51:08 ERROR failed to open C:\Users\s.chimere\Desktop\GRAYLOG; Access is denied C:\Users\s.chimere\Desktop\GRAYLOG this is where i have my test logs Please can anyone help.

Hello,

The error message suggests that NXLog can not read the file. I am assuming that you are using im_file to read this file.
You may need to set permissions on the account running NXLog to have access to that file. It is inside of a users directory so you may do better placing it into another open location.
Over all though, the permissions are the problem.