[source, ruby]
----
response = client.indices.put_mapping(
  index: 'my-index-000001',
  body: {
    runtime: {
      'measures.start' => {
        type: 'long'
      },
      'measures.end' => {
        type: 'long'
      }
    }
  }
)
puts response
----
