Graph - Fielddata is disabled on text fields by default

New to elasticsearch and still getting to grips with everything!

I've imported a load of nmap xml results in to elastic search using the VulntoES (

This has worked well and I can see all the data under discover. When I come to visualise a field such as IP with Graph, I get the following error: Fielddata is disabled on text fields by default.

I have searched under in the documentation and see see that I need to add Set fielddata=true on.
How do I update the data in my index nmap-vuln-to-es ?

EDIT: I am using ELK v5.2 on ubuntu 16

Hi CaveJohnson,

Have you taken a look at this StackOverflow question which sounds like the same thing?

The docs also has a section on setting fielddata to true:

Please let me know if this helps. Thanks!


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