Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
REGEX expression for SQL Server log file path in "Microsoft SQL Server Error Log" datasource does not return results
Description
When creating a REGEX expression to define similar SQL Server log file paths in the "Microsoft SQL Server Error Log" datasource, the InTrust server gathering fails with:
The specified log doesn't exist.
The issue only occurs when the folder of similar names are on the root drive. Such as:
C:\MSSQL.INTRUST\MSSQL\Log\ERRORLOG*
C:\MSSQL.ADMIN\MSSQL\Log\ERRORLOG*
C:\MSSQL.VMWARE\MSSQL\Log\ERRORLOG*
The REGEX expression used would be similar to the following:
C:\\MSSQL.(\w*)\\MSSQL\\Log
Cause
There is an issue with how the InTrust server parses REGEX expressions when the wildcards are used on the root drive (c: in this example).
Resolution
WORKAROUND 1
Nest the SQL logs in another folder on the root drive. Such as:
C:\SQLLog\MSSQL.INTRUST\MSSQL\Log\ERRORLOG*
C:\SQLLog\MSSQL.ADMIN\MSSQL\Log\ERRORLOG*
C:\SQLLog\MSSQL.VMWARE\MSSQL\Log\ERRORLOG*
The REGEX expression used would be similar to the following:
C:\\SQLLog\MSSQL.(\w*)\\MSSQL\\Log
WORKAROUND 2
Create a separate "Microsoft SQL Server Error Log" datasource for each SQL error log directory.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
InTrust
11.6, 11.5.1, 11.5, 11.4.2, 11.4.1, 11.4
Topic(s):
Troubleshooting
Article History:
Created on: 7/8/2015 Last Update on: 1/30/2024
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.