Kibana version:
7.0.0
Elasticsearch version:
7.0.0
Server OS version:
Elastic Cloud
Original install method (e.g. download page, yum, from source, etc.):
Add data tutorial instructions for Mac OS
Describe the bug:
Data is flowing in but when I click the check data button, nothing shows. I only tried the system metricbeat module and nothing else.
Steps to reproduce:
In Elastic Cloud:
check data at the end, no dataExpected behavior:
I would expect the check data button to show that there is data in the cluster
Screenshots (if relevant):


Errors in browser console (if relevant):
I'm not sure if this is relevant or not
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'nonce-[NUMBER]'". Either the 'unsafe-inline' keyword, a hash ([HASH NUMBER]'), or a nonce ('nonce-...') is required to enable inline execution.
Provide logs and/or server output (if relevant):
Request payload:
{"index":"metricbeat-*"}
{"query":{"bool":{"filter":{"term":{"metricset.module":"system"}}}},"size":1}
Response
{"took":2,"responses":[{"took":2,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":null,"hits":[]},"status":200}]}
Any additional context:
Happy to provide access to the environment if needed.
@ruflin ^^
@sqren You might know more here?
One other thing that stands out to me is that the query is metricset.module instead of event.module which we must change. I assume this affects all tutorials. @kaiyan-sheng I remember you touched some of the tutorials for the migration?
@ruflin APM has a similar ticket to this - I haven't looked into it yet so don't know the cause: https://github.com/elastic/kibana/issues/35131
@ruflin I was able to reproduce it locally. Will look into it tomorrow!
@kaiyan-sheng fyi: @jasonrhodes is also working on a fix: https://github.com/elastic/kibana/pull/35555. Perhaps you can reach out to him and figure out if you are working on the same bug.
One other thing that stands out to me is that the query is
metricset.moduleinstead ofevent.modulewhich we must change. I assume this affects all tutorials. @kaiyan-sheng I remember you touched some of the tutorials for the migration?
@ruflin You were right on the metricset.module. I just created a PR to fix it and it will need some backports too.