Hello Everyone,
I would like to monitor the Application log file using AppDynamics log Extension and publish the below results to the application team.
I want to check for the line POA-*.pdf file starts and POA-*.pdf ends.
If the job successfully ends then I want to print output as POA-*.pdf file is success
If the Job fails(if it not able to find POA-*.pdf ends line) then print output as POA-*.pdf file is failed.
sample logs:
***************Processing of file POA-002308981.11111.pdf starts **************
1:00:13,626 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
11:00:13,627 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
11:00:13,627 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource
***************Processing of file POA-0022236.3479237.pdf ends **************
Is something we can achieve this monitoring using AppDynamics log monitoring extension.
Thanks
Selvan
Hello Selvan,
All the extensions which are supported by Appdynamics are listed on Appdynamics Exchange Page. You can take a look at them to see if any extension fits your requirement.
Below extension is available for monitoring logs on any platform
https://www.appdynamics.com/community/exchange/extension/log-monitoring-extension
Please refer to below link which will give you more details on how to build your own custom extension.
https://docs.appdynamics.com/display/PRO45/Build+a+Monitoring+Extension+Using+Scripts
https://docs.appdynamics.com/display/PRO45/Build+a+Monitoring+Extension+Using+Java