...
Download and install the NXLog Windows agent from the following location: https://nxlog.co/products/nxlog-community-edition/download.
Navigate to
services.msc
and stop the nxlog service.Navigate to the folder
C:\Program Files\nxlog\data
and delete the fileconfigcache.dat
if it present.Rename the attached
file toView file name Nxlog_MS-IIS_TCP.conf nxlog.conf
and copy intoC:\Program Files\nxlog\conf.
folder.Replace the placeholder
CyberHub IP
with the actual CyberHub IP in the nxlog.conf file.Copy the previously created certificate file on Windows machine where nxlog agent is installed and mentioned this cert path in nxlog.conf against "CAFile" on line number 45 & 65.
Now, start the NxLog service from services.msc.
NXLog agent logs will be available at the location
C:\Program Files\nxlog\data\nxlog.log
.The log flow should work, and you can check it using tcpdump with the command
tcpdump -AA port 10014
...