High CPU Utilization (HP-UX, 8 Core Box)
High CPU Utilization (HP-UX, 8 Core Box) in Log Forwarder Agent Issues.
High CPU Utilization (HP-UX, 8 Core Box)#
CPU utilization exceeding 100%, showing 101% on the UI. High utilization noted in Supervisor and Log Forwarder Agent (LFA) for corpapp users.
Solution:
1. Adjust the below parameters:
"logLevel " to “ERROR ” and “logFileSize ” to “10MB ”.
2. Restarted LFA.
3. Set file_level for all Supervisor logs to ‘warn ’ and restart the Supervisor agent.
Transaction Data Not Collected#
Case 1: Transaction Audit Displaying Incorrect Client and Server IP#
While monitoring transactions from IIS logs using LogForwarder, both client and server IPs were displayed as 127.0.0.1 in the transaction audit.
Attempts to update the regex for selecting the client IP did not rectify this.
Solution:
1. Identify the incorrect parameter in the agent-details.json file.
2. The "CIp " field was incorrect; updated the parameter from "CIp " to "CIP ".
3. After this correction, the Client IP and Server IP were accurately displayed in the transaction audit.

Case 2: Issue with Transmitting Transactions and ConnectionClosedException in Vjlogger Log#
Transactions are not being sent from the target, and a ConnectionClosedException is observed in the Vjlogger log.
Solution:
1. Configuration Validation and Correction: Review the provided sqldump and conf.json files, certain omissions in conf.json were identified and corrected.
The key additions and corrections include:
a. Addition of a missing JSON snippet in the "sinks " section.
b. Inclusion of the "success " key for FI transactions, which was previously missing.
2. Key Configuration Additions: The correct configuration now includes specific classes for transformers, sinks, assemblers, network details with server IPs, ports, and SSL settings.
a. Configure the network settings for GRPC and HTTP sinks.
b. Define transaction identifiers, timezone, and success, failure, and timeout parameters.
Case 3: Issue with Transactions Not Being Sent to GRPC in Log Forwarder 5.0#
Transactions from the configured 5.0 Log Forwarder are not successfully sent to GRPC. This is attributed to a mismatch in the date-time format for LTM logs, causing transactions to be dropped. An example error includes an Unparseable date exception in the vjLogger log.
Solution:
1. Issue Identification: The problem was traced back to an incorrect regex parameter in the configuration, which hindered data collection.
2. Configuration Modification: Adjustments were made to the regex parameter to correct the data parsing issue. The updated regex parameter now effectively captures and processes the log data.
After implementing the changes, data collection will be resumed successfully, as evidenced by entries in the vjLogger log.
Case 4: TXN Lagging Issue in LogForwarder 5.8.26#
There was a lag in transaction data processing in LogForwarder version 5.8.26 .
Solution:
1. Fine-Tuning Configuration: To address the lagging issue, the following adjustments were made in the config-details.json file:
a. Configure the sinceDBFileConf section to enable cleanup.
b. Set the backup offset and frequency, and specify the sincedb file.
c. In the vjLoggerConfig section, parameters like spool size, idle timeout, and signature length should be fine-tuned to optimize performance.
Following these modifications, the lagging issue with transaction data will be resolved, ensuring smooth and timely data processing in the Log Forwarder.
IllegalArgumentException Due to Improper ALPN Configuration on AIX#
Problem: An IllegalArgumentException related to ALPN configuration is encountered, affecting the Log Forwarder Agent (LFA) on AIX systems.
Solution:
1. Netty Folder and Jar File Preparation:
a. Create a 'netty ' folder inside the Log Forwarder directory.
b. Copy “netty-tcnative-openssl-static-2.0.7.Final-a1.jar ” from the lib folder to the new netty folder.
2. Jar File Extraction:
a. Inside the netty directory, execute the below command:
jar -xf netty-tcnative-openssl-static-2.0.7.Final-a1.jar
b. A META-INF folder will be generated, containing a native folder. Copy the below file to the netty folder.
libnetty_tcnative_aix_ppc_64.a
3. Configuration Update: Modify the selfhealconfig file to include:
JAVA_CUSTOM_ARGS=”-
Djava.library.path=/home/user/LogForwarder-physical/netty”
4. Dependency Library Check: Execute the below command to check for missing dependencies, such as libgcc_s.a .
ldd libnetty_tcnative_aix_ppc_64.a
5. Dependency Resolution:
a. Copy libgcc_s.a from Dependencies.tar.gz in the Heal installation build to the netty folder.
b. Update the LIBPATH environment variable to include the path of the copied libgcc_s.a file, by executing below command.
export LIBPATH=$LIBPATH:/home/user/LogForwarder-
physical/netty
c. Verify by executing below command to ensure no errors are returned.
ldd libnetty_tcnative_aix_ppc_64.a
6. Service Restart: Restart the Log Forwarder service and verify its operation.