Skip to main content
kdave
Staff
Staff
May 15, 2024

Troubleshooting Tip: How to resolve PH_PARSER_TOO_MANY_UNKNOWN_EVENTS errors

  • May 15, 2024
  • 0 replies
  • 2361 views
Description This article describes how to resolve PH_PARSER_TOO_MANY_UNKNOWN_EVENTS errors.
Scope FortiSIEM.
Solution

When FortiSIEM Supervisor/Collector high CPU usage is observed in Cloud Health/Collector Health, it could be due to multiple reasons. One possibility is that events are not getting parsed using the existing parsers available in FortiSIEM.

 

The steps below show how to check which host is sending events with an unknown event type.

 

From the supervisor/collector CLI on which unknown events are received, enter the following command:

 

tail -f /opt/phoenix/log/phoenix.log | grep -i PH_PARSER_TOO_MANY_UNKNOWN_EVENTS

 

This command will show results with events, as shown in this example:

 

PH_PARSER_TOO_MANY_UNKNOWN_EVENTS]:[eventSeverity]=PHL_WARNING,[procName]=phParser,[fileName]=parserProcess.cpp,[lineNumber]=2654,[relayDevIpAddr]=10.10.10.10,[phLogDetail]=Too many unknown events, this may cause high CPU or delay. To reduce CPU, try reducing unknown_event_skip_eps and/or unknown_event_skip_size in phoenix_config, or writing a basic parser to handle the unknown events.

 

From the GUI:

  1. Log in to FortiSIEM and go to the Analytics tab.
  2. Run a query with the event type as 'IN Unknown_EventType' with Display Columns Reporting IP,  Event type, Event Name, Collector ID, and COUNT(Matched Events). It will show results as follows:

 

unknown events.png

 

  • The Query will return results with the Reporting IP of a device generating events with the Unknown Event Type.
  • The log method needs to be identified. Under CMDB -> Devices, search for the device/application with the IP Address.
  • Check how the device/application is sending events.
  • Check if the events received with the Unknown Event Type are required.
  • If the events are not required, stop them from being sent to FortiSIEM from the Reporting IP.
  • If the events are required, the basic parser must be developed to parse the events properly.

 

Related documents:

Create Custom Parsers

Technical Tip: Download Unknown Raw Event logs from FortiSIEM GUI

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT