GraphQL errors uptime heartbeat

After configuring heartbeat, i get these errors in uptime.

Error GraphQL error: [search_context_exception] unknown type for collapse field monitor.id, only keywords and numbers are acceptedError GraphQL error: [illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [monitor.id] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

Error GraphQL error: [illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [monitor.id] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

Error GraphQL error: [illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [monitor.id] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

1 Like

This appears to be a race affecting all beats. We're looking into the issue here: https://github.com/elastic/beats/issues/11940

Make sure the index templates for 7.0.0 are imported and that you remove the existing indices which don't use the template.

Is there any fix to it?
Because I'm having the same problem.

Yes, we're looking into it. Apologies for the issue.

I've updated the Github issue here https://github.com/elastic/beats/issues/11940 with the root cause and a workaround. Please track the issue for further updates.

This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.