Skip to content

Agent Identifier Uniqueness Error

Agent Identifier Uniqueness Error in Log Forwarder Agent Issues.

2 min read Updated SS RS

Agent Identifier Uniqueness Error#

Errors in the Log Forwarder indicate a non-unique Agent Identifier for each instance, along with issues in loading saved states and non-existent log files.

Solution:

1. Configuration Correction: Identify and remove multiple instance sections from the JSON file, which were causing the "AgentIdentifier is not unique for each instance" error.

2. Log Format and ETL Section Adjustments: Update the log format and remove the ETL section from the JSON file to correct processing errors.

After implementing these changes, data collection will be resumed successfully.

Missing Data in UI#

Log Forwarder data is not appearing in the UI, indicated by an error in the transaction logs.

Solution:

1. Backend JSON Run: Execute a backend process for the LF agent to identify a missing Agent service mapping in the tag_mapping table.

2. Database Insertion: Manually insert the required record into the tag_mapping table:

insert into tag_mapping values(id, 1, 10, 'agent', 3, 'EWSMLM_WEB',
utc_timestamp(), 2, '7640123a-fbde-4fe5-9812-581cd1e3a9c1');

This action resolves the issue, and Log Forwarder data appears in the UI.

Inability to Retrieve POST Transaction Calls in UI#

POST transactions are not appearing in the UI, with only GET calls being displayed.

Solution:

1. Access Log Analysis: Observed that there was no 200 response code in the access_log during sessions.

2. Client team coordination: Request the user to generate transactions with a 200 response code.

3. Outcome: Following the generation of successful transactions, POST transaction data should appear in the UI alongside GET calls.

FI Transaction: Count Mismatch Issue#

FI Transaction count is high compared to Application logs.

RCA: Multiple LFAs are running in the target server due to which duplicate entries got created.

Solution: Stop the extra LFAs, post which issue will be resolved.

Example Partition Utilization Increase#

The Example partition utilization reached 88%.

1. Despite a data retention policy of 6 months, indices from as far back as week 48 of the year 2022 were found.

2. Unnecessary indices, including those for security audits and error KPIs for both Heal Health and the Indus account, were identified and deemed non- essential.

Solution:

1. Delete the indices older than the 6-month data retention period, along with those about security audits, Heal Health, and error KPIs for the Indus account.

2. To manage space, only the current and previous week's error KPI indices were retained.

3. Following these deletions, the current Example partition utilization has been reduced to 31%.

Note: Ensure that this cleanup activity is monthly, to maintain optimal storage utilization. 

TSS CPU Utilization Issue#

High CPU utilization on application server impacting running applications.

Solution :

Ensure agents are not started with the root user. Use only the appsone/heal user for starting agents.