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

Kibana's visualize =>" missing" error #23256

Closed
ufkunkaraman opened this issue Sep 18, 2018 · 4 comments
Closed

Kibana's visualize =>" missing" error #23256

ufkunkaraman opened this issue Sep 18, 2018 · 4 comments
Labels
feedback_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@ufkunkaraman
Copy link

it is token "missing" error from kibana's visualize if Number of characters is greater than ~400 (example)
How can this be solved? Any word limitation ?

@maojing0609
Copy link

me too

@stacey-gammon
Copy link
Contributor

Sorry @ufkunkaraman, can you explain your issue a little more? What are the steps to reproduce it? What has > 400 characters? The visualization title?

@stacey-gammon stacey-gammon added feedback_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 18, 2018
@maojing0609
Copy link

it is token "missing" error from kibana's visualize if Number of characters is greater than ~400 (example)
How can this be solved? Any word limitation ?
hi,i have solved it

the reason is caused by ignore-above,which in my case ,set to the default value:256

https://www.elastic.co/guide/en/elasticsearch/reference/current/ignore-above.html
what shoud you do is config your logstash output template before indexing to elasticsearch
add flowing two lines in to logstash output

template => "/etc/logstash/elasticsearch-template-es6x-ignore_above.json"
template_overwrite => "true"

then config your template

{
  "template" : "mysql-slow*",
  "version" : 60001,
  "settings" : {
    "index.refresh_interval" : "5s"
  },
  "mappings" : {
    "_default_" : {
      "dynamic_templates" : [ {
        "message_field" : {
          "path_match" : "message",
          "match_mapping_type" : "string",
          "mapping" : {
            "type" : "text",
            "norms" : false
          }
        }
      }, {
        "string_fields" : {
          "match" : "*",
          "match_mapping_type" : "string",
          "mapping" : {
            "type" : "text", "norms" : false,
            "fields" : {
              "keyword" : { "type": "keyword", "ignore_above": 9999 }
            }
          }
        }
      } ],
      "properties" : {
        "@timestamp": { "type": "date"},
        "@version": { "type": "keyword"},
        "geoip"  : {
          "dynamic": true,
          "properties" : {
            "ip": { "type": "ip" },
            "location" : { "type" : "geo_point" },
            "latitude" : { "type" : "half_float" },
            "longitude" : { "type" : "half_float" }
          }
        }
      }
    }
  }

}

in my case,it works,hope help you.

@timroes
Copy link
Contributor

timroes commented Oct 3, 2018

I highly believe that also the initial reporter has the ignore_above issue. We should really come up with a better way to signal this (see #7324). I will close this, but if you figure out ignore_above isn't the cause of your issue, please feel free to leave a comment.

@timroes timroes closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants