It looks like the database is not defined error is being triggered because QRadar's newer versions (7.4.3+) have changed how right-click menu actions are processed in arielRightClick.properties. In recent releases, some JavaScript variables that older custom menu entries depended on are no longer exposed, so your existing onselected call may fail when it tries to reference $logAlertUid$ directly.
A few things you can try:
Validate property mapping – Make sure logAlertUid is actually part of the search results in the events table and is indexed in the same view where you're right-clicking. Even if it works in AQL, the right-click menu handler will fail if the field isn't present in that result set.
Use the updated variable syntax – In some newer QRadar builds, you must wrap the property in {$propertyName} instead of $propertyName$ for custom menu actions to resolve properly.
Clear browser + QRadar caches – After modifying /opt/qradar/conf/arielRightClick.properties, restart tomcat and clear your browser cache. QRadar can keep old JS in memory.
Check for API restrictions – IBM tightened security on client-side scripts. External URLs (like https://test.test/view/...) might be blocked unless explicitly whitelisted.
This is similar to how restaurant digital menu boards (like the Wagamama Menu) still display the same dishes, but the backend system that feeds them changes-if the format isn't updated, the display breaks even though the data exists. In QRadar, your menu data is fine, but the "display logic" needs to match the new code expectations.
If you update the syntax and confirm the property is visible in that specific event context, the right-click menu should work again without the database error.
------------------------------
rimifan rimifan
------------------------------