• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Mayana K. · Feb 19 at 03:39 AM · alerting log monitoring

Custom alerts on Log Monitoring

Hi,


I have configure the string in logs to be monitor as metric (log Event) and created the custom alert with threshold of 1 count for 1min to 3min default.

The above static threshold will alerts for each error string occurrence in logs?

Also once the metric is created and added to custom chart it will detect/display the historical (older) log errors?

1613705906202.png (136.8 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Wolfgang B. · Feb 19 at 09:57 AM

Yes it will.

Comment

People who like this

0 Show 7 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Mayana K. · 5 days ago 0
Share

Also do we need to need to select the particular log process in scope? if we not selected the scope then what will be the issue?

1613956899205.png (26.7 KiB)
avatar image Babar Q. Mayana K. · 4 days ago 1
Share

Hello @Mayana K.

The good practice is to limit the scope, and especially when you are using the calculated metrics.

Regards,

Babar

avatar image Mayana K. Babar Q. · 4 days ago 0
Share

Actually the issue we are facing is, we have configure a log monitoring error with "X" parameter by creating a custom metric.

When ever the error occurs for X parameter, The dynatrace generate a problem with "X error" and "Y error" as well, but we don`t have any reference of "Y error" in logs.

The below steps has performed to configure a alert

  • Search for the error in analyze logs and created X error and Y error
  • Created custom alerts for X and Y errors with above thresholds.
  • Manually updated the X error to log file for testing.


But dynatrace sends a problem with both X and Y description


avatar image Babar Q. Mayana K. · 4 days ago 0
Share

Hello @Mayana K.

Did you try to limit the scope?

Are both problems coming from the same logs?

Regards,

Babar

avatar image Mayana K. Babar Q. · 4 days ago 0
Share

Yes limited the scope.

And both the error are generating in same problem and coming from the same logs.

avatar image Mayana K. Mayana K. · 3 days ago 0
Share

We got the fix.

X error = 'system error failed'

Y error = 'system error failure'


I was using the query to filter the logs as 'system error failed' . This will matching the both X error and Y error.

X error = 'system error failed'

Y error = 'system error failure'

seems this is why we got the alert for both x and Y errors.


I have updated the query as "'system error failed'" then it exactly matching the parameter.

avatar image Babar Q. Mayana K. · 3 days ago 0
Share

Hello @Mayana K.

Nice to hear that you fixed your problem.

Regards,

Babar

avatar image

Answer by Wolfgang B. · Feb 19 at 09:58 AM

Concerning historic occurances: No, it counts from the time you defined the pattern.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

31 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dynatrace Managed. Query multiple environments for alerts

Utilize the "Events API"

filtering events in alert profile

Log monitor does not work well in DynaTraceSaaS environment

Meaning of custom alert thresholds in the conetxt of Log Monitoring

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc waterfall chart application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo opentelemetry integrations activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming resource javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring lambda process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming geolocation linux nam installation error reporting database mission control apache slo mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A