# Configuring LSA on Gateway Servers to Get Real-Time Events

Perform the following steps to configure the LSA client on Gateway Servers to get real-time events:

Note: The Gateway server and the accessing server should have the same LSA version.

1. Browse to the LSA_HOME/Conf directory and open the `LSA.conf` file.
2. In the `LSA.conf` file, search for the `event_grouping_time_gap` field.
3. Set the value to `0` in the `event_grouping_time_gap` field.
4. Save and close the `LSA.conf` file.
5. Restart the LSA Service.

   Configuring the above settings to get real-time events will impact the performance of LSA.

Parent topic: Optimizing Event Notifications