OpenSearch modify or create new index?

0

Hello, I have index01 that is created by streaming data. The incoming date field is in milliseconds since the epoch but not being interpreted as a date-time field by OpenSearch. I would like to re-create the entire index (or maybe I can re-create a portion of the index and "Join" with the original index?) and in the process format the date-time to epoch_millis.

I found the below snippet of code which I think I need to use but I have no idea how I would use below to create index02 from index01?

PUT my-index-02
{
  "mappings": {
    "properties": {
      "date": {
        "type":   "date",
        "format": "epoch_millis"
      }
    }
  }
}
AWS
질문됨 일 년 전139회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠