How do I create a date field from a nested date field?

Let's say my mappings look like this.

{
    "index_patterns" : ["ftp-status-dev-*"],
    "mapping": {
      "properties": {
        "context": {
          "properties": {
            "created_at" : {
              "type" : "date",
              "format" : "epoch_second"
            },

            "productCount": {
              "type": "long"
            }
          }
        }
      }
    }
  }

When I try to create the index in Kibana I don't get the option to set it as a date field. Is this different when using nested fields or is something else going wrong?

This mapping looks like something Kibana can handle. This isn't a nested mapping, but an object mapping. Do you have a sample document?

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