Firstly go to Analytics Settings > Profile Settings > Edit Profile Information
Then enable the Site Search and enter query, all, any, exact as Query Parameter. See the following screenshot:
You can also add ext as Category Parameter which will show you searches done by component.