# Kibana4: Analyzed string field warning

**URL:** <https://discuss.elastic.co/t/kibana4-analyzed-string-field-warning/23141>\
**Category:** Elasticsearch\
**Created:** [April 7, 2015, 11:55pm UTC](https://discuss.elastic.co/t/kibana4-analyzed-string-field-warning/23141 "2015-04-07T23:55:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@Karthik\_Sharma](https://discuss.elastic.co/u/Karthik_Sharma)\
**Post date:** [April 7, 2015, 11:55pm UTC](https://discuss.elastic.co/t/kibana4-analyzed-string-field-warning/23141/1 "2015-04-07T23:55:45Z")

</div>

I have 3 JSON key value pairs in my document which I insert into  
elasticsearch and visualize using Kibana4.The 3 JSON keys are `NT`,`XT`and  
`YT`. The values are typically integers between 100 and 1000 for all the  
three keys. Some typical values are `543`,`328` and `753`. When I visualize  
the keys in Kibana4 I get the below warning for each of the above three  
keys.

`This is an analyzed string field.Analyzed string fields are highly unique and can use a lot of memory to visualize`

In an attempt to fix the above problem I have used the below shell script  
to create a mapping for the `document type` in elastic search that contain  
these keys.

My elasticsearch index is `bits` and my document type is `nts` and I am  
trying to assign type `long` for 3 JSON keys in the document of type `nts`  
namely `NT`, `XT` and `YT`.

```
#!/bin/bash

curl -XPUT 'http://localhost:9200/bits/nts/_mapping' -d '
{
        "events" : {
            "dynamic" : "strict",
            "properties" : {
                "NT" : {
                        type : "long" 
                 },
                "XT" : {
                        type : "long" 
                 },
                "YT" : {
                        type : "long" 
                }
            }
        },
}'

```

The above mapping doesn't fix the problem and I am still getting the  
`analyzed string field` warning. Can someone point out what could be wrong?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8cabd28d-d222-47ce-9bff-bf80cc7205fd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8cabd28d-d222-47ce-9bff-bf80cc7205fd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:21am UTC](https://discuss.elastic.co/t/kibana4-analyzed-string-field-warning/23141/2 "2017-07-06T00:21:02Z")

</div>


