If you want to clear the existing realtime data to view only the latest data on the dashboard, you must perform the following steps:
Use the SSH client to connect to Analytics Server.
Delete the realtime index data by using the following command:
GUI command: Click Access Manager Dashboard > Dev tools POST realtime/_delete_by_query{ "query": { "match_all": {} }}
It takes few minutes for the data to be reflected on the graphs.