Discover: Fielddata is disabled on text fields by default. Set fielddata=true on [user] 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 …

Hi, I am new to kibana and when trying the save the data in discover field i am getting the above error

try to use fieldname.keyword (for example if your field name is user, use user.keyword)