Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I resolve "Event type [biz_txn_v1] for account [customer1_xxxx-xxx] expired on [ ]"?

Symptoms

After configuring analytics on Machine agent (monitor.xml and analytics-agent.properties file) for the first time, you see following warning message in logs as you activate the functionality from UI and no metric are visible through analytics searches 

 

[2016-11-17T12:56:42,195+01:00] [WARN ] [pipeline-thread-11 (bt-publish-3)] [c.a.a.a.p.e.EventServicePublishStage] This message was throttled [47] times: Transient error encountered due to the following cause: [Message could not be delivered because the REST resource rejected it]
com.appdynamics.analytics.shared.rest.exceptions.NotAcceptableRestException: Event type [biz_txn_v1] for account [customer1_0fcad495-5e0b-44d7-88eb-48a7de7025b4] expired on [2016-09-30T23:59:00.000Z]

Diagnosis

1. Since this is a new setup run analytics healthchecks to verify analytics server and agent are up and running: 

 

       http://<analytics_agent_host>:9091/healthcheck?pretty=true 
       http://<event_service_host>:9081/healthcheck?pretty=true

 

2. Check the license file to verify units and expiry is correct as is showing in the license screen on UI.

3. Next check the controller db and verify license details are correctly stored in there. Following query should help fetch the details: 

 

mysql> select * from license_module_property where license_module_type='transaction-analytics';
+------------+-----------------------+--------------------------------+----------------+
| account_id | license_module_type | property_name | property_value |
+------------+-----------------------+--------------------------------+----------------+
| 2 | transaction-analytics | data-retention-period | 90 |
| 2 | transaction-analytics | edition | PRO |
| 2 | transaction-analytics | expiry-date | 1506927600000 |
| 2 | transaction-analytics | licensing-model | FIXED |
| 2 | transaction-analytics | maximum-allowed-licenses | 10 |
| 2 | transaction-analytics | number-of-provisioned-licenses | 10 |
+------------+-----------------------+--------------------------------+----------------+
6 rows in set (0.00 sec)

 

Note: {mysql> select * from license_module_property where license_module_type='transaction-analytics*'; } In this query You can use transactio/log/browser analytics based on whatever needs to be checked for your case, rest of the query will remain intact. 

 

4. Check and confirm that the event service end point, access key and global account name are correct in the property file? Verify the same via the admin UI and the event service properties file.

 

5. If you try to start analytics agent manually using command, still you see this warning message.

Solution

Because this happens when Controller's new license hasn't syncd with the ES, it kept the old license expiring date even after updating it;

 

To resolve this issue, you would have to blow empty the ES cluster and Re-install the event service. Better redownload it too then re install (preferably using Platform Administration if applicable).

Version history
Revision #:
5 of 5
Last update:
2 weeks ago
Updated by:
 
Labels (1)
0 Kudos