IIS logs via network share

Tags:

#1 Rotema

Hi,

is it possiable to access IIS logs located on a network share? 

for example, right now I'm using:

    Module    im_file
    File    "D:\\Logs\\W3SVC1\\u_ex*"
    SavePos  TRUE

 

and it works.

But if i change it to:

    Module    im_file
    File    "\\netapp-ams-cifs\\IISlogs\\Trader1\\W3SVC1\\u_ex*"
    SavePos  TRUE
 

i see an error on the nxlog saying: ERROR failed to open directory: \netapp-ams-cifs\IISlogs\Trader1\W3SVC1: The system cannot find the path specified. 

Can anyone help please?

Thanks

#2 adm Nxlog ✓
#1 Rotema
Hi, is it possiable to access IIS logs located on a network share?  for example, right now I'm using:     Module    im_file     File    "D:\\Logs\\W3SVC1\\u_ex*"     SavePos  TRUE   and it works. But if i change it to:     Module    im_file     File    "\\netapp-ams-cifs\\IISlogs\\Trader1\\W3SVC1\\u_ex*"     SavePos  TRUE   i see an error on the nxlog saying: ERROR failed to open directory: \netapp-ams-cifs\IISlogs\Trader1\W3SVC1: The system cannot find the path specified.  Can anyone help please? Thanks

You probably want \\netapp-ams-cifs\... which would be

   File "\\\\netapp-ams-cifs\\..."

or

   File '\\netapp-ams-cifs\...'

Note that \\ translates to \ in double quoted strings.