Hello LOG support
We had configure log shipping (Windows 2008 R2 source, which worked for us in similar cases in the past), but getting errors as if nxlog is unable to access log files:
{"EventTime":"2016-06-03 20:56:33","Hostname":"FIHP-TCDIS10","SeverityValue":4,"Severity":"ERROR","SourceName":"nxlog-ce","ProcessID":6040,"ErrorCode":720123,"EventReceivedTime":"2016-06-03 20:56:33","SourceModuleName":"internal","SourceModuleType":"im_internal","message":"failed to open C:\\Siemens\\Dispatcher\\Logs\\Dispatcher\\process\\*.log\r\nThe filename, directory name, or volume label syntax is incorrect. "}
- Path is correct except for double "\\" and we are not sure where they come from.
conf file attached
Errors opening log source
Errors opening log source
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Errors opening log source
This post on the nx log mailing list gave me a clue on the workaround for wildcards on Windows
https://www.mail-archive.com/nxlog-ce-u ... 00037.html
Lets change this
to this
https://www.mail-archive.com/nxlog-ce-u ... 00037.html
Lets change this
Code: Select all
File 'C:\Siemens\Dispatcher\Logs\Dispatcher\process\*.log'Code: Select all
File "C:\Siemens\Dispatcher\Logs\Dispatcher\process\\\*.log"Re: Errors opening log source
Worked, Thank you (very strange of why the first way works on another group of equally installed servers :-\ (although no \*.log in that case)scottwilkerson wrote:This post on the nx log mailing list gave me a clue on the workaround for wildcards on Windows
https://www.mail-archive.com/nxlog-ce-u ... 00037.html
Lets change thisto thisCode: Select all
File 'C:\Siemens\Dispatcher\Logs\Dispatcher\process\*.log'Code: Select all
File "C:\Siemens\Dispatcher\Logs\Dispatcher\process\\\*.log"
Re: Errors opening log source
I'll go ahead and close this thread since the issue is resolved.
Former Nagios Employee.
me.
me.