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.

Controller (SaaS, On Premises)

Send selected logs to controller using log analytics agent

Jasmitha.Meka
Creator

Send selected logs to controller using log analytics agent

Hi team,

 

We have deployed analytics-agent with machine agent in a server and configured pattern to grok logs of application. We are able to see logs in Controller UI.

 

We want to send only level=ERROR logs to controller. How can this be achieved?

 

Job  file:

 

version: 2
enabled: true
source:
    type: file
    path: /data/logs
    nameGlob: app.log
    startAtEnd: true

fields:
   sourceType: xxx

grok:
  patterns:
    - '%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} \[%{DATA:thread}\] %{DATA:class} %{GREEDYDATA:message}'

eventTimestamp:
   pattern: "yyyy-MM-dd HH:mm:ss,SSS"

Thanks,

Jasmitha M

 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Send selected logs to controller using log analytics agent
0 REPLIES 0