title: elasticsearch exception inserted for time type format
body: <p>es version: 7.10.1
  kibana version: 7.10.0</p>
  <p><strong>First, let me show my index mapping</strong></p>
  <pre><code>{
  &quot;settings&quot;: {
      &quot;number_of_shards&quot;: 3,
      &quot;number_of_replicas&quot;: 1,
      &quot;index.mapping.total_fields.limit&quot;: 10000,
      &quot;refresh_interval&quot;: &quot;120s&quot;
  },
  &quot;mappings&quot;: {
      &quot;date_detection&quot;: false,
      &quot;dynamic_templates&quot;: [{
              &quot;integers&quot;: {
                  &quot;match_mapping_type&quot;: &quot;long&quot;,
                  &quot;mapping&quot;: {
                      &quot;type&quot;: &quot;keyword&quot;
                  }
              }
          },
          {
              &quot;strings&quot;: {
                  &quot;match_mapping_type&quot;: &quot;string&quot;,
                  &quot;mapping&quot;: {
                      &quot;type&quot;: &quot;keyword&quot;
                  }
              }
          }
      ],
      &quot;properties&quot;: {
          &quot;user&quot;: {
              &quot;type&quot;: &quot;keyword&quot;
          },
          &quot;user_dept_name&quot;: {
              &quot;type&quot;: &quot;keyword&quot;
          },
          &quot;user_dept_id&quot;: {
              &quot;type&quot;: &quot;keyword&quot;
          },
          &quot;user_leave_dept_time&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;
          },
          &quot;user_dept_time&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;
          },
          &quot;user_dimission_time&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;
          },
          &quot;user_dimiss_apply_time&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;
          },
          &quot;user_status&quot;: {
              &quot;type&quot;: &quot;keyword&quot;
          },
          &quot;nested_object&quot;: {
              &quot;type&quot;: &quot;nested&quot;
          },
          &quot;operation_type&quot;: {
              &quot;type&quot;: &quot;keyword&quot;
          },
          &quot;message&quot;: {
              &quot;type&quot;: &quot;text&quot;
          },
          &quot;throw_exception&quot;: {
              &quot;type&quot;: &quot;text&quot;
          },
          &quot;timestamp&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;yyyy-MM-dd'T'HH:mm:ss.SSSZ&quot;
          },
          &quot;time&quot;: {
              &quot;type&quot;: &quot;date&quot;,
              &quot;format&quot;: &quot;HH:mm:ss.SSSZ&quot;
          }
      }
  }
  </code></pre>
  <p><strong>in kibana, when I try to insert data, sometimes it can be inserted successfully, sometimes it prompts an exception.</strong></p>
  <p><a href="https://i.stack.imgur.com/XZrl5.png" rel="nofollow noreferrer">exception message</a></p>
  <p><a href="https://i.stack.imgur.com/JjuMi.png" rel="nofollow noreferrer">Succeeded this time</a></p>
  <p><em><strong>I don’t know what the problem is, I hope friends will help me</strong></em></p>
  <p>email: lcxkaka@foxmail.com</p>