// This file is autogenerated, DO NOT EDIT
// ingest/processors/date-index-name.asciidoc:43

[source, python]
----
resp = client.index(
    index="my-index",
    id="1",
    pipeline="monthlyindex",
    document={
        "date1": "2016-04-25T12:02:01.789Z"
    },
)
print(resp)
----
