cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How to troubleshoot Windows file paths not matching in Analytics Agent

Some Windows users see the following error message in the Analytics Agent log:

 

[2017-08-08T15:12:42,295+02:00]  [INFO ]  [log-sources-thread-0]  [c.a.a.a.source.tail.DirectoryPoller]  Skipping file [l:\com\cegid\99980700-preprod-retail-ondemand\webapp_12.1.log] because it doesn't match the file mask pattern.

 

The cause of this issue is often due to a user copying the Windows path from the command prompt into the log analytic job file as a value for the source file.

 

The file path from the Windows command prompt looks like this: 

 

C:\com\example\logs\sample.log

 

But the log analytics accepts the file path to be written as: 

 

C:/com/example/logs/sample.log

  

The command prompt path does not work and causes the error.

 

The solution to this issue is to enter the path and the "nameGlob" value like so:

 

...
...
source:
  type: file
  path: L:/com/cegid
  nameGlob: **/WebApp.log
  startAtEnd: false
...
...

 

Then restart the analytics agent.

Version history
Last update:
‎08-30-2017 12:46 PM
Updated by:
Labels (1)
Contributors
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos