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

Why am I seeing the error "Failed [UpsertLimitException - maximum upserts of [1000] inside eum-processor.log"?

This error occurs when EUM Server not able to send data to Analytics and then we see following kind of error inside eum-processor.log:



Error code[400], Exception [RestException(statusCode=400, code=BulkError.UpsertLimitExceeded, errorMessage=Bulk upsert errors occurred for account <Account_Name> and event type [SessionRecord], developerMessage={"message":"Bulk upsert errors occurred for account<Account_Name> and event type [SessionRecord]"
...
...
message":"Failed [UpsertLimitException - maximum upserts of [1000] exceeded for docId [<App-Key>...]]
...

This is the issue which is related to UpsertLimitException as we have a limit on the number of upserts that can be called on a single request instance. This is due to the fact that each upsert operation appends additional nested documents to the original parent document and if the number of nested docs grows too large it can adversely affect the performance of ElasticSearch.

 

To increase the value for this, follow these steps:

  • Property can be found under conf/events-service-api-store.properties as ad.es.event.maxUpsertsAllowed.
  • Increase this value to a higher number.
  • Restart the Events Service.
  • Once restarted, kindly verify inside eum-processor if it's now able to send the events to analytics/ES and this error should not more be there.

 

Note: ad.es.event.maxUpsertsAllowed property controls how many segments can be inserted into a single document.

Version history
Last update:
‎09-07-2018 11:04 AM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos