Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 08-30-2017 12:46 PM
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form