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

Terms >255 characters are counted as "Missing field" in terms panel #1057

Closed
jimmyjones2 opened this issue Mar 12, 2014 · 2 comments
Closed
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug

Comments

@jimmyjones2
Copy link
Contributor

eg. the following JSON:

{"fuzz": "jashdygayusdgyuagsdyugayusdgyuagsyudgayusgdyusagduyguguygyuftftyftksdfkhsdfkushdfkuhsdfkuhsfdkuhskdufhksudhfkushdfkuhsdkfuhsdfksasdiuhsadiuhasdiuahsdiuahsdiuashdiuahsdiuhasiudhaiushdaiushdsdfoijsdfoijsdfoijsdfoijsdfoijsdfoijsdfoijsdoifjsdoifjsdf12345678901" }

A terms panel on this field will count this value as a "Missing field". If you remove one character from the above it will work.

@rashidkpc
Copy link
Contributor

I'm guessing you're using Logstash? This is due to a setting in the default logstash elasticsearch mapping:

"mapping" : {
             "type" : "string", "index" : "analyzed", "omit_norms" : true,
               "fields" : {
                 "raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
               }
           }

Note the "ignore_above"

@jimmyjones2
Copy link
Contributor Author

Not using logstash. I didn't define a mapping, ES created:

{"mappings":{"post":{"properties":{"fuzz":{"type":"string"}}}}}

Having said that, I had a look at the response coming back from ES, and it says the field is missing, so is an ES issue, not Kibana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants
@rashidkpc @jimmyjones2 and others