1
response

I'm trying to configure Windows Management Instrumentation (im_wmi) for a host on a different subnet. I'm getting an error:

chown: cannot access ‘wmiusername:nxlog’: No such file or directory. where am I going wrong? My config is as below:

########################################
User nxlog
Group nxlog

LogFile /opt/nxlog/var/log/nxlog/nxlog.log
LogLevel DEBUG


########################################
# Inputs                              #
########################################

<Input wmi>
    Module      im_wmi
    Host        10.x.x.x
    Username    wmiusername
    Password   SomePassword
    Domain      domain.com
    ReadFromLast True
</Input>

<Output file>
    Module      om_file
    File        "/opt/nxlog/var/windows/" + $AccountName + ".log"
</Output>

<Route wmi_to_file>
    Path        wmi => file
</Route>
AskedJanuary 7, 2019 - 2:18am

Comments (1)

Answers (0)