How to enable Search Statistics logging in Joomla
Log into Joomla admin panel.
Enabling search statistics will allow you to keep track of what users search in the search box.
Click on Components – Search. Scroll right.
Click on Parameters icon. Click Yes to gather search statistics. Click on Save button.
The result will be shown, along with the number of times the search is made on your website.