Kibana: [Add Data] Check Data Doesn't Work

Created on 23 Apr 2019  路  6Comments  路  Source: elastic/kibana

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:

  1. Follow add data instructions for systems module.
  2. Click check data at the end, no data
  3. Load up the dashboard / discover - data

Expected behavior:
I would expect the check data button to show that there is data in the cluster

Screenshots (if relevant):

Screen Shot 2019-04-23 at 1 34 05 PM

Screen Shot 2019-04-23 at 1 34 40 PM

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.

Add Data bug

All 6 comments

@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.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 You were right on the metricset.module. I just created a PR to fix it and it will need some backports too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

treussart picture treussart  路  3Comments

timmolter picture timmolter  路  3Comments

stacey-gammon picture stacey-gammon  路  3Comments

LukeMathWalker picture LukeMathWalker  路  3Comments

timroes picture timroes  路  3Comments