I have csv data stored in ES through logstash , currently i able to load the index in Kibana and while display in discovery the data is shown correctly ( word by word in single field) but in the visualization when i added name field as term for aggregation character by character is coming as separate filed.
English words are split by each word but japanes words are split by each character or kanji.
I want the whole field as single .
How can i achieve this.
If you are using Logstash to index your data into Elasticsearch, there must be a <fieldname>.raw field, corresponding to every <fieldname> field in your index. While the string in <fieldname> is analyzed by Elasticsearch, the <fieldname>.raw field contains the original string in the <fieldname> field, as-is, un-analyzed.
raw fileds are creating only if it is default index(logstash.xx.xx.xx) .
If we specify index name explicitly then raw fields are not created, so it is not the problem with language.
If you decide to use an index name other than logstash-*, this template is not applicable, hence the .raw fields are not created automatically. You will need to provide an index template of your own, similar to the one provided by Logstash, matching the name(s) of your indices.
You can learn more about index templates in general over here:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.