Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illegal_argument_exception with ES 7.4.0 #17

Open
daymansiege opened this issue Oct 24, 2019 · 1 comment
Open

illegal_argument_exception with ES 7.4.0 #17

daymansiege opened this issue Oct 24, 2019 · 1 comment

Comments

@daymansiege
Copy link

Hello!

On clean environment with ES 7.4.0 and heartbeat of version 7.4.0 import either json from master ot ndjson from PR #3 and you will get an error when loading dashboard for both visualizations "HTTP monitors" and "HTTP monitors status":

{
    "type": "illegal_argument_exception",
    "reason": "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."
}

I assume index pattern must be updated to use keyword types for text fields and visualizations must use keywords, not fields.

http_es

@andrewvc
Copy link
Contributor

Apologies for the extreme delay here, this repo somehow slipped through the cracks in terms of us checking issues. That said, the cause of your issue (if you're still having it) is likely a missing mapping.

To fix this you'll need to shutdown all running heartbeats, delete your heartbeat instances, then start heartbeat again. Let us know if that fixes it, and again sorry for the very delayed response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants