Query Insights is empty

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.19.1
Docker Desktop on Windows

Describe the issue:
I have installed the plugin Query Insights as guided here: bin/opensearch-plugin install query-insights.
But all the time, http://localhost:9200/_insights/top_queries returns empty array. Note that many search queries are called in the default time frame 5 minutes.

The historical params in _insights/top_queries?from=2024-08-25T15:00:00.000Z&to=2024-08-30T17:00:00.000Z do not exist: request [/_insights/top_queries] contains unrecognized parameters: [from], [to]

Configuration:

Relevant Logs or Screenshots:

I started seeing this too after someone did some maintenance on a cluster node. Here is what I observed.

Fresh install (RPM):

sh-4.2# pwd
/usr/share/opensearch/plugins/query-insights
sh-4.2# md5sum *
3b83ef96387f14655fc854ddc3c6bd57  LICENSE.txt
b3dbf032ad0061620774c6726425951a  NOTICE.txt
63232eb9ecd795b2e3b8786a7be4f070  plugin-descriptor.properties
6397bf873601a91175ff22c4f567632c  query-insights-2.19.2.0.jar
sh-4.2# 

Remove query insights:

sh-4.2# /usr/share/opensearch/bin/opensearch-plugin remove query-insights

Install query insights:

sh-4.2# /usr/share/opensearch/bin/opensearch-plugin install -b query-insights
-> Installing query-insights
-> Downloading query-insights from opensearch
cd /-> Installed query-insights with folder name query-insights
sh-4.2# cd /usr/share/opensearch/plugins/query-insights/
sh-4.2# md5sum *
3b83ef96387f14655fc854ddc3c6bd57  LICENSE.txt
b3dbf032ad0061620774c6726425951a  NOTICE.txt
a0fcdd939664c0b807f023365829d87f  plugin-descriptor.properties
6df3276878ee1c4b0394ff14da2b6ce7  query-insights-2.19.2.jar
sh-4.2# 

Definitely some differences in there.

And of course after the plugin-install command, query insights does not work.