anchor.diff:        }
       },
       "settings": {
  -      "index.lifecycle.name": "logs_policy",
  -      "sort.field" : [ "@timestamp"],          <2>
  -      "sort.order" : [ "desc"]                 <3>
  -    }
  -  }
  -}
  -----
  -// TEST[continued]
  -
  +      "sort.field": [ "@timestamp"],          <2>
  +      "sort.order": [ "desc"]                 <3>
  +    }
  +  }
  +}
  +----
   <1>  Changes the `@timestamp` field mapping to the `date_nanos` field datatype.
   <2>  Adds the `sort.field` index setting.
   <3>  Adds the `sort.order` index setting.
  
positive.code: ----
  PUT /_data_stream/new_logs
  ----
  // TEST[continued]
  ====
  
  . If you do not want to mix new and old data in your new data stream, pause the
  
negative.code: [[data-streams-change-mappings-and-settings]]
  == Change mappings and settings for a data stream
  
  Each data stream has a <<create-a-data-stream-template,matching index
  template>>. Mappings and index settings from this template are applied to new
  