Technical Tip: How to manually clean FortiClient EMS event table and data
| Description | This article describes how to manually clean the FortiClient EMS event table and data if the GUI option does not work. |
| Scope | FortiClient EMS Linux v7.4. |
| Solution | If the event table is quite big or it was never cleaned up successfully before, it is possible to show 'Server Error' when trying to manually clear all events in the FortiClient EMS log settings.
Manually clean the event table via command, and the following command can be used.
Completely removing the event table helps if the above command still does not work.
sudo psql -U postgres -h localhost -d fcm_default -c "TRUNCATE TABLE events;"
Run the below command to check the event table size after the cleanup.
psql -U postgres -d fcm_default -h localhost -Atc "SELECT
|




