Ivan,
I was able to locate the issue. I am guessing that you are using the Sagan JSON input module to parse NXLog data.
The JSON input module can look for a JSON field to pull the event_id from. It appears you are using Sagan's JSON input module but are attempting to pull the event ID from the message rather than a JSON field. There was a bug that prevented this from working. It now checks to see if you have a "event_id" rule option. If the rule option is enabled and the JSON input module is being used, we look for an "event_id" in the JSON input mapping. If the input mapping fails, it will parse the "message" field for the event id. This is where there was a bug.
Since you are not parsing JSON for the Event ID, when using the --debug json flag, the "event_id" will still show NULL. However, using the --debug engine flag, you should see that the event_id gets picked up via Sagan parsing the message. you can pass sagan "--debug json,engine" to see this.
I have pushed the fix up to Github. Pull the latest version and test. I believe this should correct your issue. If not, please open an issue on Github and we'll get it sorted out. Thank you for reporting this issue!