Troubleshooting
Problem
Events pulled using the protocols like Universal Cloud REST API, Amazon AWS REST API, JDBC etc., route to an incorrect Event collector/processor in the deployment. Specifically, they are being directed to EventCollectorX, whereas the designated target should be EventCollectorY.
Cause
Environment
Diagnosing The Problem
Confirm the problem by checking if the event details show incorrect Event Collector (e.g: the Event Collector ID in the event details shows EventCollectorX instead of EventCollectorY)
Perform below check to eliminate configuration issues:
- Verify if the log source configuration is showing the right Target Event Collector.
- Reconfigure the log source and check if the issue still persists.
- Run tcpdump on EventCollectorX and EventCollectorY, events were noticed on EventCollectorY.
Resolving The Problem
- Check marker file on both Event Collectors (EventCollectorX and EventCollectorY):
- To get spconfig for the logsource, please run:
psql -U qradar -c "select spconfig from sensordevice where id = '<logsource ID>'"; - Navigate to /store/ec/UniversalCloudRestAPI/<spconfig> directory on both EC hosts
- cat the marker file present at this location
- Check and compare the timestamp value in both marker files
If the timestamp in the marker file on new EC i.e. EventCollectorY is not changing while the timestamp value in the marker file on EventCollectorX keep updating to current timestamp, proceed to the next steps.
- To get spconfig for the logsource, please run:
- Disable Log Source in the Logsource Management App.
- Move the marker file on older EC host:
- Move the marker file on the incorrect eventcollector (EventCollectorX).
- Navigate to
/store/ec/universalcloudrestapi/<SPConfig>/
- Find the file and move it to
/store/IBM_support
- Regenerate marker/state File on correct EventCollector (EventCollectorY in our example):
- Regenerate the file by running the command:
mv file1 file1_bk
- Regenerate the file by running the command:
-
Restart ecs-ec-ingress service:
systemctl restart ecs-ec-ingress -
Enable the log source in the Logsource Management App and Perform Test on the logsource.
In the log activity tab, check the latest logs for this logsource and verify if the eventcollector ID is same as target event collector set in the log source configuration.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
21 July 2024
UID
ibm17157086