There are three different analytics endpoints that you can make requests against:
Searches performed through the query tester or the documents view are not included in analytics logs.
Since 7.9.0, App Search retains analytics according to your Enterprise Search log retention settings.
See Log retention in the Enterprise Search documentation.
Since 7.9.0, you can disable analytics logging using the App Search log settings.
See Log settings guide.
Intro to Kibana
ELK for Logs & Metrics