Community Edition - Failed to load module xm_python.dll
Running nxlog-ce-3.1.2319 on Windows.
2023-01-19 08:12:46 ERROR Failed to load module from C:\xxxxx\nxlog\modules\extension\xm_python.dll, The specified module could not be found. ; The specified module could not be found.
The NXLog Python DLL is on disk so I am wondering if this is complaining because I don't have the nxlog Python module (which I don't see in pip).I looked around for some setup instructions but I don't see any extra setup steps required for Python (aside from writing the script).
Config:<Extension python>
Module xm_python
PythonCode "C:\xxx\NXLogDev\modules\convert_to_splunk_hec.py"
</Extension>
PythonCode
import nxlog
def get_splunk_hec_format(event):
nxlog.log_warning('in get_splunk_hec_format()')
for field in event.field_names():
nxlog.log_debug('Received field:' + field)