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 (https://github.com/ChrisRimondi/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? http://stackoverflow.com/questions/38145991/how-to-set-fielddata-true-in-kibana

The docs also has a section on setting fielddata to true: https://www.elastic.co/guide/en/elasticsearch/reference/5.0/fielddata.html#_enabling_fielddata_on_literal_text_literal_fields

Please let me know if this helps. Thanks!

CJ

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