# Remove 'field.keyword' from index

**URL:** <https://discuss.elastic.co/t/remove-field-keyword-from-index/239271>\
**Category:** Elasticsearch\
**Created:** [June 30, 2020, 10:29am UTC](https://discuss.elastic.co/t/remove-field-keyword-from-index/239271 "2020-06-30T10:29:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajayraghuraj](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@ajayraghuraj](https://discuss.elastic.co/u/ajayraghuraj)\
**Post date:** [June 30, 2020, 10:29am UTC](https://discuss.elastic.co/t/remove-field-keyword-from-index/239271/1 "2020-06-30T10:29:33Z")

</div>

How do I remove 'field.keyword' from my index ? I should be able to see 'field' only

here is my GET \_mapping output

```
 {
  "collectd-2020.06.29" : {
    "mappings" : {
      "doc" : {
        "properties" : {
          "@timestamp" : {
            "type" : "date"
          },
          "@version" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "CMD" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "ConnectionType" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "PID" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "PPID" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "TCPPort" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "collectd_type" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "free" : {
            "type" : "float"
          },
          "freepct" : {
            "type" : "long"
          },
          "host" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "longterm" : {
            "type" : "float"
          },
          "majflt" : {
            "type" : "long"
          },
          "midterm" : {
            "type" : "float"
          },
          "minflt" : {
            "type" : "long"
          },
          "plugin" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "plugin_instance" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "processes" : {
            "type" : "float"
          },
          "read" : {
            "type" : "long"
          },
          "rx" : {
            "type" : "long"
          },
          "shortterm" : {
            "type" : "float"
          },
          "syst" : {
            "type" : "long"
          },
          "threads" : {
            "type" : "float"
          },
          "total" : {
            "type" : "long"
          },
          "tx" : {
            "type" : "long"
          },
          "type" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "type_instance" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          },
          "used" : {
            "type" : "float"
          },
          "usedpct" : {
            "type" : "long"
          },
          "user" : {
            "type" : "long"
          },
          "value" : {
            "type" : "float"
          },
          "write" : {
            "type" : "long"
          }
        }
      }
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 30, 2020, 12:30pm UTC](https://discuss.elastic.co/t/remove-field-keyword-from-index/239271/2 "2020-06-30T12:30:26Z")

</div>

You need to create a new index for this

---

<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 28, 2020, 12:30pm UTC](https://discuss.elastic.co/t/remove-field-keyword-from-index/239271/3 "2020-07-28T12:30:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
