I need to create a script in which will ask for a type of events to display (For example: system). The script will show on screen the events of the selected type grouped by